Skip to content
Vectorlight.net

#af587d

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

HEX
#af587d
RGB
175, 88, 125
HSL
334.48°, 35.22%, 51.57%
OKLCH
0.58 0.12 354.73
Names
—
Lists

Codes

FormatValue
HEX#af587d
RGBrgb(175 88 125)
HSLhsl(334.48 35.22% 51.57%)
OKLCHoklch(0.58 0.12 354.73)
CMYKcmyk(0% 49.71% 28.57% 31.37%)
Android#ffaf587d

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.51: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="#af587d"
Gradient stop
<stop stop-color="#af587d"/>
CSS variable + fill
:root { --c: #af587d; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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