Hex Color #CE2921 - Custom Color
Color Codes
HEX
#CE2921
RGB
rgb(206, 41, 33)
HSL
hsl(3, 72%, 47%)
CMYK
cmyk(0%, 80%, 84%, 19%)
HSV
hsv(3, 84%, 81%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.30:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.96: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: #CE2921;
color: #CE2921;
border-color: #CE2921;
}
Tailwind CSS (with arbitrary values)
bg-[#CE2921]
text-[#CE2921]
border-[#CE2921]
// Example usage:
<div className="bg-[#CE2921]">