Skip to content
Vectorlight.net

#e2afab

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#e2afab
RGB
226, 175, 171
HSL
4.36°, 48.67%, 77.84%
OKLCH
0.8 0.06 23.66
Names
—
Lists

Codes

FormatValue
HEX#e2afab
RGBrgb(226 175 171)
HSLhsl(4.36 48.67% 77.84%)
OKLCHoklch(0.8 0.06 23.66)
CMYKcmyk(0% 22.57% 24.34% 11.37%)
Android#ffe2afab

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
1.91:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
10.95:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#e2afab"
Gradient stop
<stop stop-color="#e2afab"/>
CSS variable + fill
:root { --c: #e2afab; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #e2afab;
background-color: #e2afab;
bg-[#e2afab]