Hex Color #C31F23 - Custom Color
Color Codes
HEX
#C31F23
RGB
rgb(195, 31, 35)
HSL
hsl(359, 73%, 44%)
CMYK
cmyk(0%, 84%, 82%, 24%)
HSV
hsv(359, 84%, 76%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.93:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.54: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: #C31F23;
color: #C31F23;
border-color: #C31F23;
}
Tailwind CSS (with arbitrary values)
bg-[#C31F23]
text-[#C31F23]
border-[#C31F23]
// Example usage:
<div className="bg-[#C31F23]">