Hex Color #D9C6DD - Custom Color
Color Codes
HEX
#D9C6DD
RGB
rgb(217, 198, 221)
HSL
hsl(290, 25%, 82%)
CMYK
cmyk(2%, 10%, 0%, 13%)
HSV
hsv(290, 10%, 87%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.61:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 13.07:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Recommended Text Color
For best readability on this background color, use black text.
Similar Colors
Color in Use
Card with colored border
Background with 20% opacity
CSS Code
.element {
background-color: #D9C6DD;
color: #D9C6DD;
border-color: #D9C6DD;
}
Tailwind CSS (with arbitrary values)
bg-[#D9C6DD]
text-[#D9C6DD]
border-[#D9C6DD]
// Example usage:
<div className="bg-[#D9C6DD]">