Skip to content
Vectorlight.net

#af177d

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

HEX
#af177d
RGB
175, 23, 125
HSL
319.74°, 76.77%, 38.82%
OKLCH
0.51 0.2 346.32
Names
—
Lists

Codes

FormatValue
HEX#af177d
RGBrgb(175 23 125)
HSLhsl(319.74 76.77% 38.82%)
OKLCHoklch(0.51 0.2 346.32)
CMYKcmyk(0% 86.86% 28.57% 31.37%)
Android#ffaf177d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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