Skip to content
Vectorlight.net

#af5166

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

HEX
#af5166
RGB
175, 81, 102
HSL
346.6°, 37.01%, 50.2%
OKLCH
0.56 0.12 7.95
Names
—
Lists

Codes

FormatValue
HEX#af5166
RGBrgb(175 81 102)
HSLhsl(346.6 37.01% 50.2%)
OKLCHoklch(0.56 0.12 7.95)
CMYKcmyk(0% 53.71% 41.71% 31.37%)
Android#ffaf5166

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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