Skip to content
Vectorlight.net

#af5c8a

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

HEX
#af5c8a
RGB
175, 92, 138
HSL
326.75°, 34.16%, 52.35%
OKLCH
0.59 0.12 347.09
Names
—
Lists

Codes

FormatValue
HEX#af5c8a
RGBrgb(175 92 138)
HSLhsl(326.75 34.16% 52.35%)
OKLCHoklch(0.59 0.12 347.09)
CMYKcmyk(0% 47.43% 21.14% 31.37%)
Android#ffaf5c8a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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