Skip to content
Vectorlight.net

#e420db

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

HEX
#e420db
RGB
228, 32, 219
HSL
302.76°, 78.4%, 50.98%
OKLCH
0.65 0.28 330.49
Names
—
Lists

Codes

FormatValue
HEX#e420db
RGBrgb(228 32 219)
HSLhsl(302.76 78.4% 50.98%)
OKLCHoklch(0.65 0.28 330.49)
CMYKcmyk(0% 85.96% 3.95% 10.59%)
Android#ffe420db

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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