Skip to content
Vectorlight.net

#d901cb

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

HEX
#d901cb
RGB
217, 1, 203
HSL
303.89°, 99.08%, 42.75%
OKLCH
0.61 0.28 331.95
Names
—
Lists

Codes

FormatValue
HEX#d901cb
RGBrgb(217 1 203)
HSLhsl(303.89 99.08% 42.75%)
OKLCHoklch(0.61 0.28 331.95)
CMYKcmyk(0% 99.54% 6.45% 14.9%)
Android#ffd901cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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