Hex Color #B12107 - Custom Color
Color Codes
HEX
#B12107
RGB
rgb(177, 33, 7)
HSL
hsl(9, 92%, 36%)
CMYK
cmyk(0%, 81%, 96%, 31%)
HSV
hsv(9, 96%, 69%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 6.80:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.09: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: #B12107;
color: #B12107;
border-color: #B12107;
}
Tailwind CSS (with arbitrary values)
bg-[#B12107]
text-[#B12107]
border-[#B12107]
// Example usage:
<div className="bg-[#B12107]">