Skip to content
Vectorlight.net

#e42587

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

HEX
#e42587
RGB
228, 37, 135
HSL
329.21°, 77.96%, 51.96%
OKLCH
0.61 0.23 356.36
Names
—
Lists

Codes

FormatValue
HEX#e42587
RGBrgb(228 37 135)
HSLhsl(329.21 77.96% 51.96%)
OKLCHoklch(0.61 0.23 356.36)
CMYKcmyk(0% 83.77% 40.79% 10.59%)
Android#ffe42587

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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