Hex Color #FE02DF - Custom Color
Color Codes
HEX
#FE02DF
RGB
rgb(254, 2, 223)
HSL
hsl(307, 99%, 50%)
CMYK
cmyk(0%, 99%, 12%, 0%)
HSV
hsv(307, 99%, 100%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.34:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.29: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: #FE02DF;
color: #FE02DF;
border-color: #FE02DF;
}
Tailwind CSS (with arbitrary values)
bg-[#FE02DF]
text-[#FE02DF]
border-[#FE02DF]
// Example usage:
<div className="bg-[#FE02DF]">