Hex Color #E8D7DF - Custom Color

Color Codes

HEX
#E8D7DF
RGB
rgb(232, 215, 223)
HSL
hsl(332, 27%, 88%)
CMYK
cmyk(0%, 7%, 4%, 9%)
HSV
hsv(332, 7%, 91%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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