Skip to content
Vectorlight.net

#e315ab

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

HEX
#e315ab
RGB
227, 21, 171
HSL
316.31°, 83.06%, 48.63%
OKLCH
0.62 0.26 343.61
Names
—
Lists

Codes

FormatValue
HEX#e315ab
RGBrgb(227 21 171)
HSLhsl(316.31 83.06% 48.63%)
OKLCHoklch(0.62 0.26 343.61)
CMYKcmyk(0% 90.75% 24.67% 10.98%)
Android#ffe315ab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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