Hex Color #B5331C - Custom Color

Color Codes

HEX
#B5331C
RGB
rgb(181, 51, 28)
HSL
hsl(9, 73%, 41%)
CMYK
cmyk(0%, 72%, 85%, 29%)
HSV
hsv(9, 85%, 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: #B5331C;
color: #B5331C;
border-color: #B5331C;
}

Tailwind CSS (with arbitrary values)

bg-[#B5331C]
text-[#B5331C]
border-[#B5331C]
// Example usage:
<div className="bg-[#B5331C]">