Hex Color #EF126A - Custom Color
Color Codes
HEX
#EF126A
RGB
rgb(239, 18, 106)
HSL
hsl(336, 87%, 50%)
CMYK
cmyk(0%, 92%, 56%, 6%)
HSV
hsv(336, 92%, 94%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.23:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.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: #EF126A;
color: #EF126A;
border-color: #EF126A;
}
Tailwind CSS (with arbitrary values)
bg-[#EF126A]
text-[#EF126A]
border-[#EF126A]
// Example usage:
<div className="bg-[#EF126A]">