Hex Color #E42F2A - Custom Color
Color Codes
HEX
#E42F2A
RGB
rgb(228, 47, 42)
HSL
hsl(2, 78%, 53%)
CMYK
cmyk(0%, 79%, 82%, 11%)
HSV
hsv(2, 82%, 89%)
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: #E42F2A;
color: #E42F2A;
border-color: #E42F2A;
}
Tailwind CSS (with arbitrary values)
bg-[#E42F2A]
text-[#E42F2A]
border-[#E42F2A]
// Example usage:
<div className="bg-[#E42F2A]">