Skip to content
Vectorlight.net

#e28eca

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

HEX
#e28eca
RGB
226, 142, 202
HSL
317.14°, 59.15%, 72.16%
OKLCH
0.75 0.13 338.13
Names
—
Lists

Codes

FormatValue
HEX#e28eca
RGBrgb(226 142 202)
HSLhsl(317.14 59.15% 72.16%)
OKLCHoklch(0.75 0.13 338.13)
CMYKcmyk(0% 37.17% 10.62% 11.37%)
Android#ffe28eca

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
2.34:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.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="#e28eca"
Gradient stop
<stop stop-color="#e28eca"/>
CSS variable + fill
:root { --c: #e28eca; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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