Skip to content
Vectorlight.net

#d170cd

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

HEX
#d170cd
RGB
209, 112, 205
HSL
302.47°, 51.32%, 62.94%
OKLCH
0.69 0.17 328.73
Names
—
Lists

Codes

FormatValue
HEX#d170cd
RGBrgb(209 112 205)
HSLhsl(302.47 51.32% 62.94%)
OKLCHoklch(0.69 0.17 328.73)
CMYKcmyk(0% 46.41% 1.91% 18.04%)
Android#ffd170cd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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