Skip to content
Vectorlight.net

#af009d

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

HEX
#af009d
RGB
175, 0, 157
HSL
306.17°, 100%, 34.31%
OKLCH
0.52 0.23 334.1
Names
—
Lists

Codes

FormatValue
HEX#af009d
RGBrgb(175 0 157)
HSLhsl(306.17 100% 34.31%)
OKLCHoklch(0.52 0.23 334.1)
CMYKcmyk(0% 100% 10.29% 31.37%)
Android#ffaf009d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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