Hex Color #E0AFCF - Custom Color

Color Codes

HEX
#E0AFCF
RGB
rgb(224, 175, 207)
HSL
hsl(321, 44%, 78%)
CMYK
cmyk(0%, 22%, 8%, 12%)
HSV
hsv(321, 22%, 88%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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