Skip to content
Vectorlight.net

#af6fac

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

HEX
#af6fac
RGB
175, 111, 172
HSL
302.81°, 28.57%, 56.08%
OKLCH
0.63 0.11 328.47
Names
—
Lists

Codes

FormatValue
HEX#af6fac
RGBrgb(175 111 172)
HSLhsl(302.81 28.57% 56.08%)
OKLCHoklch(0.63 0.11 328.47)
CMYKcmyk(0% 36.57% 1.71% 31.37%)
Android#ffaf6fac

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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