Skip to content
Vectorlight.net

#d971cb

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

HEX
#d971cb
RGB
217, 113, 203
HSL
308.08°, 57.78%, 64.71%
OKLCH
0.7 0.17 332.47
Names
—
Lists

Codes

FormatValue
HEX#d971cb
RGBrgb(217 113 203)
HSLhsl(308.08 57.78% 64.71%)
OKLCHoklch(0.7 0.17 332.47)
CMYKcmyk(0% 47.93% 6.45% 14.9%)
Android#ffd971cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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