Hex Color #B4080E - Custom Color
Color Codes
HEX
#B4080E
RGB
rgb(180, 8, 14)
HSL
hsl(358, 91%, 37%)
CMYK
cmyk(0%, 96%, 92%, 29%)
HSV
hsv(358, 96%, 71%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 7.04:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 2.98: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: #B4080E;
color: #B4080E;
border-color: #B4080E;
}
Tailwind CSS (with arbitrary values)
bg-[#B4080E]
text-[#B4080E]
border-[#B4080E]
// Example usage:
<div className="bg-[#B4080E]">