Hex Color #BA5142 - Custom Color

Color Codes

HEX
#BA5142
RGB
rgb(186, 81, 66)
HSL
hsl(7, 48%, 49%)
CMYK
cmyk(0%, 56%, 65%, 27%)
HSV
hsv(7, 65%, 73%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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