Skip to content
Vectorlight.net

#af2aae

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

HEX
#af2aae
RGB
175, 42, 174
HSL
300.45°, 61.29%, 42.55%
OKLCH
0.55 0.22 328.4
Names
—
Lists

Codes

FormatValue
HEX#af2aae
RGBrgb(175 42 174)
HSLhsl(300.45 61.29% 42.55%)
OKLCHoklch(0.55 0.22 328.4)
CMYKcmyk(0% 76% 0.57% 31.37%)
Android#ffaf2aae

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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