Hex Color #E00254 - Custom Color
Color Codes
HEX
#E00254
RGB
rgb(224, 2, 84)
HSL
hsl(338, 98%, 44%)
CMYK
cmyk(0%, 99%, 63%, 12%)
HSV
hsv(338, 99%, 88%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.88:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.31:1
Fail - 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: #E00254;
color: #E00254;
border-color: #E00254;
}
Tailwind CSS (with arbitrary values)
bg-[#E00254]
text-[#E00254]
border-[#E00254]
// Example usage:
<div className="bg-[#E00254]">