Hex Color #976871 - Custom Color

Color Codes

HEX
#976871
RGB
rgb(151, 104, 113)
HSL
hsl(349, 18%, 50%)
CMYK
cmyk(0%, 31%, 25%, 41%)
HSV
hsv(349, 31%, 59%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 4.53:1
Pass - 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: #976871;
color: #976871;
border-color: #976871;
}

Tailwind CSS (with arbitrary values)

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