Skip to content
Vectorlight.net

#d20c8f

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

HEX
#d20c8f
RGB
210, 12, 143
HSL
320.3°, 89.19%, 43.53%
OKLCH
0.57 0.24 348.58
Names
—
Lists

Codes

FormatValue
HEX#d20c8f
RGBrgb(210 12 143)
HSLhsl(320.3 89.19% 43.53%)
OKLCHoklch(0.57 0.24 348.58)
CMYKcmyk(0% 94.29% 31.9% 17.65%)
Android#ffd20c8f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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