Hex Color #EF2121 - Custom Color
Color Codes
HEX
#EF2121
RGB
rgb(239, 33, 33)
HSL
hsl(0, 87%, 53%)
CMYK
cmyk(0%, 86%, 86%, 6%)
HSV
hsv(0, 86%, 94%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.28:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.91: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: #EF2121;
color: #EF2121;
border-color: #EF2121;
}
Tailwind CSS (with arbitrary values)
bg-[#EF2121]
text-[#EF2121]
border-[#EF2121]
// Example usage:
<div className="bg-[#EF2121]">