Skip to content
Vectorlight.net

#d2009d

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

HEX
#d2009d
RGB
210, 0, 157
HSL
315.14°, 100%, 41.18%
OKLCH
0.58 0.25 343.71
Names
—
Lists

Codes

FormatValue
HEX#d2009d
RGBrgb(210 0 157)
HSLhsl(315.14 100% 41.18%)
OKLCHoklch(0.58 0.25 343.71)
CMYKcmyk(0% 100% 25.24% 17.65%)
Android#ffd2009d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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