Skip to content
Vectorlight.net

#af176f

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

HEX
#af176f
RGB
175, 23, 111
HSL
325.26°, 76.77%, 38.82%
OKLCH
0.5 0.2 352.3
Names
—
Lists

Codes

FormatValue
HEX#af176f
RGBrgb(175 23 111)
HSLhsl(325.26 76.77% 38.82%)
OKLCHoklch(0.5 0.2 352.3)
CMYKcmyk(0% 86.86% 36.57% 31.37%)
Android#ffaf176f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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