Hex Color #B81938 - Custom Color

Color Codes

HEX
#B81938
RGB
rgb(184, 25, 56)
HSL
hsl(348, 76%, 41%)
CMYK
cmyk(0%, 86%, 70%, 28%)
HSV
hsv(348, 86%, 72%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

Contrast Ratio: 6.49:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)

Text on Black Background

Sample Text

Contrast Ratio: 3.23: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: #B81938;
color: #B81938;
border-color: #B81938;
}

Tailwind CSS (with arbitrary values)

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