Skip to content
Vectorlight.net

#e51157

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

HEX
#e51157
RGB
229, 17, 87
HSL
340.19°, 86.18%, 48.24%
OKLCH
0.59 0.23 12.37
Names
—
Lists

Codes

FormatValue
HEX#e51157
RGBrgb(229 17 87)
HSLhsl(340.19 86.18% 48.24%)
OKLCHoklch(0.59 0.23 12.37)
CMYKcmyk(0% 92.58% 62.01% 10.2%)
Android#ffe51157

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.61:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.54:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#e51157"
Gradient stop
<stop stop-color="#e51157"/>
CSS variable + fill
:root { --c: #e51157; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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