Hex Color #AB9DBB - Custom Color

Color Codes

HEX
#AB9DBB
RGB
rgb(171, 157, 187)
HSL
hsl(268, 18%, 67%)
CMYK
cmyk(9%, 16%, 0%, 27%)
HSV
hsv(268, 16%, 73%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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