Skip to content
Vectorlight.net

#af1d71

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

HEX
#af1d71
RGB
175, 29, 113
HSL
325.48°, 71.57%, 40%
OKLCH
0.51 0.19 351.78
Names
—
Lists

Codes

FormatValue
HEX#af1d71
RGBrgb(175 29 113)
HSLhsl(325.48 71.57% 40%)
OKLCHoklch(0.51 0.19 351.78)
CMYKcmyk(0% 83.43% 35.43% 31.37%)
Android#ffaf1d71

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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