Skip to content
Vectorlight.net

#af587c

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

HEX
#af587c
RGB
175, 88, 124
HSL
335.17°, 35.22%, 51.57%
OKLCH
0.58 0.12 355.41
Names
—
Lists

Codes

FormatValue
HEX#af587c
RGBrgb(175 88 124)
HSLhsl(335.17 35.22% 51.57%)
OKLCHoklch(0.58 0.12 355.41)
CMYKcmyk(0% 49.71% 29.14% 31.37%)
Android#ffaf587c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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