Skip to content
Vectorlight.net

#af05ab

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

HEX
#af05ab
RGB
175, 5, 171
HSL
301.41°, 94.44%, 35.29%
OKLCH
0.53 0.24 329.58
Names
—
Lists

Codes

FormatValue
HEX#af05ab
RGBrgb(175 5 171)
HSLhsl(301.41 94.44% 35.29%)
OKLCHoklch(0.53 0.24 329.58)
CMYKcmyk(0% 97.14% 2.29% 31.37%)
Android#ffaf05ab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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