Hex Color #E04040 - Custom Color
Color Codes
HEX
#E04040
RGB
rgb(224, 64, 64)
HSL
hsl(0, 72%, 56%)
CMYK
cmyk(0%, 71%, 71%, 12%)
HSV
hsv(0, 71%, 88%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.22:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.98: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: #E04040;
color: #E04040;
border-color: #E04040;
}
Tailwind CSS (with arbitrary values)
bg-[#E04040]
text-[#E04040]
border-[#E04040]
// Example usage:
<div className="bg-[#E04040]">