Hex Color #C6170F - Custom Color
Color Codes
HEX
#C6170F
RGB
rgb(198, 23, 15)
HSL
hsl(3, 86%, 42%)
CMYK
cmyk(0%, 88%, 92%, 22%)
HSV
hsv(3, 92%, 78%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.95:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.53: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: #C6170F;
color: #C6170F;
border-color: #C6170F;
}
Tailwind CSS (with arbitrary values)
bg-[#C6170F]
text-[#C6170F]
border-[#C6170F]
// Example usage:
<div className="bg-[#C6170F]">