Skip to content
Vectorlight.net

#af42ae

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

HEX
#af42ae
RGB
175, 66, 174
HSL
300.55°, 45.23%, 47.25%
OKLCH
0.57 0.19 328.09
Names
—
Lists

Codes

FormatValue
HEX#af42ae
RGBrgb(175 66 174)
HSLhsl(300.55 45.23% 47.25%)
OKLCHoklch(0.57 0.19 328.09)
CMYKcmyk(0% 62.29% 0.57% 31.37%)
Android#ffaf42ae

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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