Skip to content
Vectorlight.net

#d171ac

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

HEX
#d171ac
RGB
209, 113, 172
HSL
323.13°, 51.06%, 63.14%
OKLCH
0.67 0.14 343.81
Names
—
Lists

Codes

FormatValue
HEX#d171ac
RGBrgb(209 113 172)
HSLhsl(323.13 51.06% 63.14%)
OKLCHoklch(0.67 0.14 343.81)
CMYKcmyk(0% 45.93% 17.7% 18.04%)
Android#ffd171ac

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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