Skip to content
Vectorlight.net

#af40ae

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

HEX
#af40ae
RGB
175, 64, 174
HSL
300.54°, 46.44%, 46.86%
OKLCH
0.57 0.19 328.12
Names
—
Lists

Codes

FormatValue
HEX#af40ae
RGBrgb(175 64 174)
HSLhsl(300.54 46.44% 46.86%)
OKLCHoklch(0.57 0.19 328.12)
CMYKcmyk(0% 63.43% 0.57% 31.37%)
Android#ffaf40ae

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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