Skip to content
Vectorlight.net

#e42478

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

HEX
#e42478
RGB
228, 36, 120
HSL
333.75°, 78.05%, 51.76%
OKLCH
0.61 0.23 1.73
Names
—
Lists

Codes

FormatValue
HEX#e42478
RGBrgb(228 36 120)
HSLhsl(333.75 78.05% 51.76%)
OKLCHoklch(0.61 0.23 1.73)
CMYKcmyk(0% 84.21% 47.37% 10.59%)
Android#ffe42478

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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