Skip to content
Vectorlight.net

#af38ac

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

HEX
#af38ac
RGB
175, 56, 172
HSL
301.51°, 51.52%, 45.29%
OKLCH
0.56 0.2 328.93
Names
—
Lists

Codes

FormatValue
HEX#af38ac
RGBrgb(175 56 172)
HSLhsl(301.51 51.52% 45.29%)
OKLCHoklch(0.56 0.2 328.93)
CMYKcmyk(0% 68% 1.71% 31.37%)
Android#ffaf38ac

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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