Skip to content
Vectorlight.net

#d915af

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

HEX
#d915af
RGB
217, 21, 175
HSL
312.86°, 82.35%, 46.67%
OKLCH
0.6 0.25 339.98
Names
—
Lists

Codes

FormatValue
HEX#d915af
RGBrgb(217 21 175)
HSLhsl(312.86 82.35% 46.67%)
OKLCHoklch(0.6 0.25 339.98)
CMYKcmyk(0% 90.32% 19.35% 14.9%)
Android#ffd915af

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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