Skip to content
Vectorlight.net

#af517d

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

HEX
#af517d
RGB
175, 81, 125
HSL
331.91°, 37.01%, 50.2%
OKLCH
0.57 0.13 352.82
Names
—
Lists

Codes

FormatValue
HEX#af517d
RGBrgb(175 81 125)
HSLhsl(331.91 37.01% 50.2%)
OKLCHoklch(0.57 0.13 352.82)
CMYKcmyk(0% 53.71% 28.57% 31.37%)
Android#ffaf517d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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