Skip to content
Vectorlight.net

#d171af

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

HEX
#d171af
RGB
209, 113, 175
HSL
321.25°, 51.06%, 63.14%
OKLCH
0.68 0.14 342.23
Names
—
Lists

Codes

FormatValue
HEX#d171af
RGBrgb(209 113 175)
HSLhsl(321.25 51.06% 63.14%)
OKLCHoklch(0.68 0.14 342.23)
CMYKcmyk(0% 45.93% 16.27% 18.04%)
Android#ffd171af

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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