Skip to content
Vectorlight.net

#af02ad

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

HEX
#af02ad
RGB
175, 2, 173
HSL
300.69°, 97.74%, 34.71%
OKLCH
0.53 0.24 328.97
Names
—
Lists

Codes

FormatValue
HEX#af02ad
RGBrgb(175 2 173)
HSLhsl(300.69 97.74% 34.71%)
OKLCHoklch(0.53 0.24 328.97)
CMYKcmyk(0% 98.86% 1.14% 31.37%)
Android#ffaf02ad

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="#af02ad"
Gradient stop
<stop stop-color="#af02ad"/>
CSS variable + fill
:root { --c: #af02ad; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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