Hex Color #B72857 - Custom Color

Color Codes

HEX
#B72857
RGB
rgb(183, 40, 87)
HSL
hsl(340, 64%, 44%)
CMYK
cmyk(0%, 78%, 52%, 28%)
HSV
hsv(340, 78%, 72%)
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.45: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: #B72857;
color: #B72857;
border-color: #B72857;
}

Tailwind CSS (with arbitrary values)

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