Hex Color #EA1291 - Custom Color
Color Codes
HEX
#EA1291
RGB
rgb(234, 18, 145)
HSL
hsl(325, 86%, 49%)
CMYK
cmyk(0%, 92%, 38%, 8%)
HSV
hsv(325, 92%, 92%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.21:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.99: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: #EA1291;
color: #EA1291;
border-color: #EA1291;
}
Tailwind CSS (with arbitrary values)
bg-[#EA1291]
text-[#EA1291]
border-[#EA1291]
// Example usage:
<div className="bg-[#EA1291]">