Skip to content
Vectorlight.net

#e840cc

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

HEX
#e840cc
RGB
232, 64, 204
HSL
310°, 78.5%, 58.04%
OKLCH
0.66 0.25 335.68
Names
—
Lists

Codes

FormatValue
HEX#e840cc
RGBrgb(232 64 204)
HSLhsl(310 78.5% 58.04%)
OKLCHoklch(0.66 0.25 335.68)
CMYKcmyk(0% 72.41% 12.07% 9.02%)
Android#ffe840cc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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