Skip to content
Vectorlight.net

#d20c8d

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

HEX
#d20c8d
RGB
210, 12, 141
HSL
320.91°, 89.19%, 43.53%
OKLCH
0.57 0.24 349.28
Names
—
Lists

Codes

FormatValue
HEX#d20c8d
RGBrgb(210 12 141)
HSLhsl(320.91 89.19% 43.53%)
OKLCHoklch(0.57 0.24 349.28)
CMYKcmyk(0% 94.29% 32.86% 17.65%)
Android#ffd20c8d

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
5.02:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.17:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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

Recolor an SVG with this color

CSS

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