Hex Color #C7310C - Custom Color
Color Codes
HEX
#C7310C
RGB
rgb(199, 49, 12)
HSL
hsl(12, 89%, 41%)
CMYK
cmyk(0%, 75%, 94%, 22%)
HSV
hsv(12, 94%, 78%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.42:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.87: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: #C7310C;
color: #C7310C;
border-color: #C7310C;
}
Tailwind CSS (with arbitrary values)
bg-[#C7310C]
text-[#C7310C]
border-[#C7310C]
// Example usage:
<div className="bg-[#C7310C]">