Skip to content
Vectorlight.net

#d21cc2

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

HEX
#d21cc2
RGB
210, 28, 194
HSL
305.27°, 76.47%, 46.67%
OKLCH
0.6 0.26 332.63
Names
—
Lists

Codes

FormatValue
HEX#d21cc2
RGBrgb(210 28 194)
HSLhsl(305.27 76.47% 46.67%)
OKLCHoklch(0.6 0.26 332.63)
CMYKcmyk(0% 86.67% 7.62% 17.65%)
Android#ffd21cc2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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