Skip to content
Vectorlight.net

#af72ac

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

HEX
#af72ac
RGB
175, 114, 172
HSL
302.95°, 27.6%, 56.67%
OKLCH
0.64 0.11 328.48
Names
—
Lists

Codes

FormatValue
HEX#af72ac
RGBrgb(175 114 172)
HSLhsl(302.95 27.6% 56.67%)
OKLCHoklch(0.64 0.11 328.48)
CMYKcmyk(0% 34.86% 1.71% 31.37%)
Android#ffaf72ac

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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