Skip to content
Vectorlight.net

#e315bf

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

HEX
#e315bf
RGB
227, 21, 191
HSL
310.49°, 83.06%, 48.63%
OKLCH
0.63 0.27 337.72
Names
—
Lists

Codes

FormatValue
HEX#e315bf
RGBrgb(227 21 191)
HSLhsl(310.49 83.06% 48.63%)
OKLCHoklch(0.63 0.27 337.72)
CMYKcmyk(0% 90.75% 15.86% 10.98%)
Android#ffe315bf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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