Skip to content
Vectorlight.net

#e42dea

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

HEX
#e42dea
RGB
228, 45, 234
HSL
298.1°, 81.82%, 54.71%
OKLCH
0.66 0.28 326.71
Names
—
Lists

Codes

FormatValue
HEX#e42dea
RGBrgb(228 45 234)
HSLhsl(298.1 81.82% 54.71%)
OKLCHoklch(0.66 0.28 326.71)
CMYKcmyk(2.56% 80.77% 0% 8.24%)
Android#ffe42dea

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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