Hex Color #BA978E - Custom Color

Color Codes

HEX
#BA978E
RGB
rgb(186, 151, 142)
HSL
hsl(12, 24%, 64%)
CMYK
cmyk(0%, 19%, 24%, 27%)
HSV
hsv(12, 24%, 73%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 7.91:1
Pass - WCAG AA (Normal Text)
Pass - 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: #BA978E;
color: #BA978E;
border-color: #BA978E;
}

Tailwind CSS (with arbitrary values)

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