Hex Color #FC42DD - Custom Color
Color Codes
HEX
#FC42DD
RGB
rgb(252, 66, 221)
HSL
hsl(310, 97%, 62%)
CMYK
cmyk(0%, 74%, 12%, 1%)
HSV
hsv(310, 74%, 99%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.02:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.96:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Recommended Text Color
For best readability on this background color, use white text.
Similar Colors
Color in Use
Card with colored border
Background with 20% opacity
CSS Code
.element {
background-color: #FC42DD;
color: #FC42DD;
border-color: #FC42DD;
}
Tailwind CSS (with arbitrary values)
bg-[#FC42DD]
text-[#FC42DD]
border-[#FC42DD]
// Example usage:
<div className="bg-[#FC42DD]">