Skip to content
Vectorlight.net

#df17a8

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

HEX
#df17a8
RGB
223, 23, 168
HSL
316.5°, 81.3%, 48.24%
OKLCH
0.61 0.25 343.63
Names
—
Lists

Codes

FormatValue
HEX#df17a8
RGBrgb(223 23 168)
HSLhsl(316.5 81.3% 48.24%)
OKLCHoklch(0.61 0.25 343.63)
CMYKcmyk(0% 89.69% 24.66% 12.55%)
Android#ffdf17a8

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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