Hex Color #AF94BD - Custom Color

Color Codes

HEX
#AF94BD
RGB
rgb(175, 148, 189)
HSL
hsl(280, 24%, 66%)
CMYK
cmyk(7%, 22%, 0%, 26%)
HSV
hsv(280, 22%, 74%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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