Skip to content
Vectorlight.net

#e315bb

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

HEX
#e315bb
RGB
227, 21, 187
HSL
311.65°, 83.06%, 48.63%
OKLCH
0.62 0.27 338.86
Names
—
Lists

Codes

FormatValue
HEX#e315bb
RGBrgb(227 21 187)
HSLhsl(311.65 83.06% 48.63%)
OKLCHoklch(0.62 0.27 338.86)
CMYKcmyk(0% 90.75% 17.62% 10.98%)
Android#ffe315bb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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