Hex Color #EA1457 - Custom Color
Color Codes
HEX
#EA1457
RGB
rgb(234, 20, 87)
HSL
hsl(341, 84%, 50%)
CMYK
cmyk(0%, 91%, 63%, 8%)
HSV
hsv(341, 91%, 92%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.43:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.74: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: #EA1457;
color: #EA1457;
border-color: #EA1457;
}
Tailwind CSS (with arbitrary values)
bg-[#EA1457]
text-[#EA1457]
border-[#EA1457]
// Example usage:
<div className="bg-[#EA1457]">