Hex Color #D8081F - Custom Color
Color Codes
HEX
#D8081F
RGB
rgb(216, 8, 31)
HSL
hsl(353, 93%, 44%)
CMYK
cmyk(0%, 96%, 86%, 15%)
HSV
hsv(353, 96%, 85%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.28:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.97: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: #D8081F;
color: #D8081F;
border-color: #D8081F;
}
Tailwind CSS (with arbitrary values)
bg-[#D8081F]
text-[#D8081F]
border-[#D8081F]
// Example usage:
<div className="bg-[#D8081F]">