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