Skip to content
Vectorlight.net

#d401ca

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

HEX
#d401ca
RGB
212, 1, 202
HSL
302.84°, 99.06%, 41.76%
OKLCH
0.6 0.27 330.96
Names
—
Lists

Codes

FormatValue
HEX#d401ca
RGBrgb(212 1 202)
HSLhsl(302.84 99.06% 41.76%)
OKLCHoklch(0.6 0.27 330.96)
CMYKcmyk(0% 99.53% 4.72% 16.86%)
Android#ffd401ca

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.65: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="#d401ca"
Gradient stop
<stop stop-color="#d401ca"/>
CSS variable + fill
:root { --c: #d401ca; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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