Hex Color #CE162E - Custom Color
Color Codes
HEX
#CE162E
RGB
rgb(206, 22, 46)
HSL
hsl(352, 81%, 45%)
CMYK
cmyk(0%, 89%, 78%, 19%)
HSV
hsv(352, 89%, 81%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.56:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.78: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: #CE162E;
color: #CE162E;
border-color: #CE162E;
}
Tailwind CSS (with arbitrary values)
bg-[#CE162E]
text-[#CE162E]
border-[#CE162E]
// Example usage:
<div className="bg-[#CE162E]">