Skip to content
Vectorlight.net

#af4eac

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

HEX
#af4eac
RGB
175, 78, 172
HSL
301.86°, 38.34%, 49.61%
OKLCH
0.58 0.17 328.7
Names
—
Lists

Codes

FormatValue
HEX#af4eac
RGBrgb(175 78 172)
HSLhsl(301.86 38.34% 49.61%)
OKLCHoklch(0.58 0.17 328.7)
CMYKcmyk(0% 55.43% 1.71% 31.37%)
Android#ffaf4eac

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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