Skip to content
Vectorlight.net

#e2127a

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

HEX
#e2127a
RGB
226, 18, 122
HSL
330°, 85.25%, 47.84%
OKLCH
0.6 0.24 359.69
Names
—
Lists

Codes

FormatValue
HEX#e2127a
RGBrgb(226 18 122)
HSLhsl(330 85.25% 47.84%)
OKLCHoklch(0.6 0.24 359.69)
CMYKcmyk(0% 92.04% 46.02% 11.37%)
Android#ffe2127a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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