Skip to content
Vectorlight.net

#d21ddd

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

HEX
#d21ddd
RGB
210, 29, 221
HSL
296.56°, 76.8%, 49.02%
OKLCH
0.62 0.28 325.44
Names
—
Lists

Codes

FormatValue
HEX#d21ddd
RGBrgb(210 29 221)
HSLhsl(296.56 76.8% 49.02%)
OKLCHoklch(0.62 0.28 325.44)
CMYKcmyk(4.98% 86.88% 0% 13.33%)
Android#ffd21ddd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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