Skip to content
Vectorlight.net

#e040cc

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

HEX
#e040cc
RGB
224, 64, 204
HSL
307.5°, 72.07%, 56.47%
OKLCH
0.65 0.24 333.58
Names
—
Lists

Codes

FormatValue
HEX#e040cc
RGBrgb(224 64 204)
HSLhsl(307.5 72.07% 56.47%)
OKLCHoklch(0.65 0.24 333.58)
CMYKcmyk(0% 71.43% 8.93% 12.16%)
Android#ffe040cc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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