Skip to content
Vectorlight.net

#e2145c

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

HEX
#e2145c
RGB
226, 20, 92
HSL
339.03°, 83.74%, 48.24%
OKLCH
0.59 0.23 10.41
Names
—
Lists

Codes

FormatValue
HEX#e2145c
RGBrgb(226 20 92)
HSLhsl(339.03 83.74% 48.24%)
OKLCHoklch(0.59 0.23 10.41)
CMYKcmyk(0% 91.15% 59.29% 11.37%)
Android#ffe2145c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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