Skip to content
Vectorlight.net

#af406f

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

HEX
#af406f
RGB
175, 64, 111
HSL
334.59°, 46.44%, 46.86%
OKLCH
0.54 0.15 357.21
Names
—
Lists

Codes

FormatValue
HEX#af406f
RGBrgb(175 64 111)
HSLhsl(334.59 46.44% 46.86%)
OKLCHoklch(0.54 0.15 357.21)
CMYKcmyk(0% 63.43% 36.57% 31.37%)
Android#ffaf406f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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