Hex Color #F216CF - Custom Color
Color Codes
HEX
#F216CF
RGB
rgb(242, 22, 207)
HSL
hsl(310, 89%, 52%)
CMYK
cmyk(0%, 91%, 14%, 5%)
HSV
hsv(310, 91%, 95%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.63:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.79: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: #F216CF;
color: #F216CF;
border-color: #F216CF;
}
Tailwind CSS (with arbitrary values)
bg-[#F216CF]
text-[#F216CF]
border-[#F216CF]
// Example usage:
<div className="bg-[#F216CF]">