Skip to content
Vectorlight.net

#e2277e

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

HEX
#e2277e
RGB
226, 39, 126
HSL
332.09°, 76.33%, 51.96%
OKLCH
0.61 0.23 359.35
Names
—
Lists

Codes

FormatValue
HEX#e2277e
RGBrgb(226 39 126)
HSLhsl(332.09 76.33% 51.96%)
OKLCHoklch(0.61 0.23 359.35)
CMYKcmyk(0% 82.74% 44.25% 11.37%)
Android#ffe2277e

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

Recolor an SVG with this color

CSS

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