Hex Color #C02B18 - Custom Color
Color Codes
HEX
#C02B18
RGB
rgb(192, 43, 24)
HSL
hsl(7, 78%, 42%)
CMYK
cmyk(0%, 78%, 88%, 25%)
HSV
hsv(7, 88%, 75%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.83:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.60: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: #C02B18;
color: #C02B18;
border-color: #C02B18;
}
Tailwind CSS (with arbitrary values)
bg-[#C02B18]
text-[#C02B18]
border-[#C02B18]
// Example usage:
<div className="bg-[#C02B18]">