Hex Color #E7AFAB - Custom Color

Color Codes

HEX
#E7AFAB
RGB
rgb(231, 175, 171)
HSL
hsl(4, 56%, 79%)
CMYK
cmyk(0%, 24%, 26%, 9%)
HSV
hsv(4, 26%, 91%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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