Skip to content
Vectorlight.net

#af5fac

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

HEX
#af5fac
RGB
175, 95, 172
HSL
302.25°, 33.33%, 52.94%
OKLCH
0.61 0.14 328.54
Names
—
Lists

Codes

FormatValue
HEX#af5fac
RGBrgb(175 95 172)
HSLhsl(302.25 33.33% 52.94%)
OKLCHoklch(0.61 0.14 328.54)
CMYKcmyk(0% 45.71% 1.71% 31.37%)
Android#ffaf5fac

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.15:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.05:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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

Recolor an SVG with this color

CSS

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