Skip to content
Vectorlight.net

#d401cb

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

HEX
#d401cb
RGB
212, 1, 203
HSL
302.56°, 99.06%, 41.76%
OKLCH
0.61 0.27 330.69
Names
—
Lists

Codes

FormatValue
HEX#d401cb
RGBrgb(212 1 203)
HSLhsl(302.56 99.06% 41.76%)
OKLCHoklch(0.61 0.27 330.69)
CMYKcmyk(0% 99.53% 4.25% 16.86%)
Android#ffd401cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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