Hex Color #C0112C - Custom Color
Color Codes
HEX
#C0112C
RGB
rgb(192, 17, 44)
HSL
hsl(351, 84%, 41%)
CMYK
cmyk(0%, 91%, 77%, 25%)
HSV
hsv(351, 91%, 75%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 6.25:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.36: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: #C0112C;
color: #C0112C;
border-color: #C0112C;
}
Tailwind CSS (with arbitrary values)
bg-[#C0112C]
text-[#C0112C]
border-[#C0112C]
// Example usage:
<div className="bg-[#C0112C]">