Skip to content
Vectorlight.net

#af587f

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

HEX
#af587f
RGB
175, 88, 127
HSL
333.1°, 35.22%, 51.57%
OKLCH
0.58 0.12 353.37
Names
—
Lists

Codes

FormatValue
HEX#af587f
RGBrgb(175 88 127)
HSLhsl(333.1 35.22% 51.57%)
OKLCHoklch(0.58 0.12 353.37)
CMYKcmyk(0% 49.71% 27.43% 31.37%)
Android#ffaf587f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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