Hex Color #D2AECC - Custom Color

Color Codes

HEX
#D2AECC
RGB
rgb(210, 174, 204)
HSL
hsl(310, 29%, 75%)
CMYK
cmyk(0%, 17%, 3%, 18%)
HSV
hsv(310, 17%, 82%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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