Hex Color #EF4CA6 - Custom Color
Color Codes
HEX
#EF4CA6
RGB
rgb(239, 76, 166)
HSL
hsl(327, 84%, 62%)
CMYK
cmyk(0%, 68%, 31%, 6%)
HSV
hsv(327, 68%, 94%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.36:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.25: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: #EF4CA6;
color: #EF4CA6;
border-color: #EF4CA6;
}
Tailwind CSS (with arbitrary values)
bg-[#EF4CA6]
text-[#EF4CA6]
border-[#EF4CA6]
// Example usage:
<div className="bg-[#EF4CA6]">