Skip to content
Vectorlight.net

#af407c

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

HEX
#af407c
RGB
175, 64, 124
HSL
327.57°, 46.44%, 46.86%
OKLCH
0.54 0.16 350.15
Names
—
Lists

Codes

FormatValue
HEX#af407c
RGBrgb(175 64 124)
HSLhsl(327.57 46.44% 46.86%)
OKLCHoklch(0.54 0.16 350.15)
CMYKcmyk(0% 63.43% 29.14% 31.37%)
Android#ffaf407c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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