Skip to content
Vectorlight.net

#e312ac

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

HEX
#e312ac
RGB
227, 18, 172
HSL
315.79°, 85.31%, 48.04%
OKLCH
0.62 0.26 343.27
Names
—
Lists

Codes

FormatValue
HEX#e312ac
RGBrgb(227 18 172)
HSLhsl(315.79 85.31% 48.04%)
OKLCHoklch(0.62 0.26 343.27)
CMYKcmyk(0% 92.07% 24.23% 10.98%)
Android#ffe312ac

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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