Skip to content
Vectorlight.net

#af217d

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

HEX
#af217d
RGB
175, 33, 125
HSL
321.13°, 68.27%, 40.78%
OKLCH
0.51 0.19 346.76
Names
—
Lists

Codes

FormatValue
HEX#af217d
RGBrgb(175 33 125)
HSLhsl(321.13 68.27% 40.78%)
OKLCHoklch(0.51 0.19 346.76)
CMYKcmyk(0% 81.14% 28.57% 31.37%)
Android#ffaf217d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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