Skip to content
Vectorlight.net

#af0fac

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

HEX
#af0fac
RGB
175, 15, 172
HSL
301.13°, 84.21%, 37.25%
OKLCH
0.53 0.24 329.23
Names
—
Lists

Codes

FormatValue
HEX#af0fac
RGBrgb(175 15 172)
HSLhsl(301.13 84.21% 37.25%)
OKLCHoklch(0.53 0.24 329.23)
CMYKcmyk(0% 91.43% 1.71% 31.37%)
Android#ffaf0fac

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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