Skip to content
Vectorlight.net

#e4157f

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

HEX
#e4157f
RGB
228, 21, 127
HSL
329.28°, 83.13%, 48.82%
OKLCH
0.6 0.24 358.43
Names
—
Lists

Codes

FormatValue
HEX#e4157f
RGBrgb(228 21 127)
HSLhsl(329.28 83.13% 48.82%)
OKLCHoklch(0.6 0.24 358.43)
CMYKcmyk(0% 90.79% 44.3% 10.59%)
Android#ffe4157f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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