Skip to content
Vectorlight.net

#e940cb

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

HEX
#e940cb
RGB
233, 64, 203
HSL
310.65°, 79.34%, 58.24%
OKLCH
0.67 0.25 336.22
Names
—
Lists

Codes

FormatValue
HEX#e940cb
RGBrgb(233 64 203)
HSLhsl(310.65 79.34% 58.24%)
OKLCHoklch(0.67 0.25 336.22)
CMYKcmyk(0% 72.53% 12.88% 8.63%)
Android#ffe940cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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