Hex Color #E2AFAA - Custom Color

Color Codes

HEX
#E2AFAA
RGB
rgb(226, 175, 170)
HSL
hsl(5, 49%, 78%)
CMYK
cmyk(0%, 23%, 25%, 11%)
HSV
hsv(5, 25%, 89%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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