Skip to content
Vectorlight.net

#af73ac

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

HEX
#af73ac
RGB
175, 115, 172
HSL
303°, 27.27%, 56.86%
OKLCH
0.64 0.11 328.48
Names
—
Lists

Codes

FormatValue
HEX#af73ac
RGBrgb(175 115 172)
HSLhsl(303 27.27% 56.86%)
OKLCHoklch(0.64 0.11 328.48)
CMYKcmyk(0% 34.29% 1.71% 31.37%)
Android#ffaf73ac

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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