Hex Color #C5080C - Custom Color
Color Codes
HEX
#C5080C
RGB
rgb(197, 8, 12)
HSL
hsl(359, 92%, 40%)
CMYK
cmyk(0%, 96%, 94%, 23%)
HSV
hsv(359, 96%, 77%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 6.15:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.41: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: #C5080C;
color: #C5080C;
border-color: #C5080C;
}
Tailwind CSS (with arbitrary values)
bg-[#C5080C]
text-[#C5080C]
border-[#C5080C]
// Example usage:
<div className="bg-[#C5080C]">