Hex Color #B5331D - Custom Color
Color Codes
HEX
#B5331D
RGB
rgb(181, 51, 29)
HSL
hsl(9, 72%, 41%)
CMYK
cmyk(0%, 72%, 84%, 29%)
HSV
hsv(9, 84%, 71%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 6.08:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.46: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: #B5331D;
color: #B5331D;
border-color: #B5331D;
}
Tailwind CSS (with arbitrary values)
bg-[#B5331D]
text-[#B5331D]
border-[#B5331D]
// Example usage:
<div className="bg-[#B5331D]">