Skip to content
Vectorlight.net

#e2004c

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

HEX
#e2004c
RGB
226, 0, 76
HSL
339.82°, 100%, 44.31%
OKLCH
0.58 0.23 14.93
Names
—
Lists

Codes

FormatValue
HEX#e2004c
RGBrgb(226 0 76)
HSLhsl(339.82 100% 44.31%)
OKLCHoklch(0.58 0.23 14.93)
CMYKcmyk(0% 100% 66.37% 11.37%)
Android#ffe2004c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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