Hex Color #81718B - Custom Color

Color Codes

HEX
#81718B
RGB
rgb(129, 113, 139)
HSL
hsl(277, 10%, 49%)
CMYK
cmyk(7%, 19%, 0%, 45%)
HSV
hsv(277, 19%, 55%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 4.67: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: #81718B;
color: #81718B;
border-color: #81718B;
}

Tailwind CSS (with arbitrary values)

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