Skip to content
Vectorlight.net

#e2159b

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

HEX
#e2159b
RGB
226, 21, 155
HSL
320.78°, 83%, 48.43%
OKLCH
0.61 0.25 348.46
Names
—
Lists

Codes

FormatValue
HEX#e2159b
RGBrgb(226 21 155)
HSLhsl(320.78 83% 48.43%)
OKLCHoklch(0.61 0.25 348.46)
CMYKcmyk(0% 90.71% 31.42% 11.37%)
Android#ffe2159b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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