Skip to content
Vectorlight.net

#af0caa

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

HEX
#af0caa
RGB
175, 12, 170
HSL
301.84°, 87.17%, 36.67%
OKLCH
0.53 0.24 329.87
Names
—
Lists

Codes

FormatValue
HEX#af0caa
RGBrgb(175 12 170)
HSLhsl(301.84 87.17% 36.67%)
OKLCHoklch(0.53 0.24 329.87)
CMYKcmyk(0% 93.14% 2.86% 31.37%)
Android#ffaf0caa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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