Skip to content
Vectorlight.net

#dc21aa

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

HEX
#dc21aa
RGB
220, 33, 170
HSL
316.04°, 73.91%, 49.61%
OKLCH
0.61 0.25 342.46
Names
—
Lists

Codes

FormatValue
HEX#dc21aa
RGBrgb(220 33 170)
HSLhsl(316.04 73.91% 49.61%)
OKLCHoklch(0.61 0.25 342.46)
CMYKcmyk(0% 85% 22.73% 13.73%)
Android#ffdc21aa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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