Skip to content
Vectorlight.net

#af71b5

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

HEX
#af71b5
RGB
175, 113, 181
HSL
294.71°, 31.48%, 57.65%
OKLCH
0.64 0.12 323.73
Names
—
Lists

Codes

FormatValue
HEX#af71b5
RGBrgb(175 113 181)
HSLhsl(294.71 31.48% 57.65%)
OKLCHoklch(0.64 0.12 323.73)
CMYKcmyk(3.31% 37.57% 0% 29.02%)
Android#ffaf71b5

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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