Hex Color #CA0827 - Custom Color
Color Codes
HEX
#CA0827
RGB
rgb(202, 8, 39)
HSL
hsl(350, 92%, 41%)
CMYK
cmyk(0%, 96%, 81%, 21%)
HSV
hsv(350, 96%, 79%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.87:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.58: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: #CA0827;
color: #CA0827;
border-color: #CA0827;
}
Tailwind CSS (with arbitrary values)
bg-[#CA0827]
text-[#CA0827]
border-[#CA0827]
// Example usage:
<div className="bg-[#CA0827]">