Skip to content
Vectorlight.net

#af97b4

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

HEX
#af97b4
RGB
175, 151, 180
HSL
289.66°, 16.2%, 64.9%
OKLCH
0.71 0.05 320.44
Names
—
Lists

Codes

FormatValue
HEX#af97b4
RGBrgb(175 151 180)
HSLhsl(289.66 16.2% 64.9%)
OKLCHoklch(0.71 0.05 320.44)
CMYKcmyk(2.78% 16.11% 0% 29.41%)
Android#ffaf97b4

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
2.65:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.90:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#af97b4"
Gradient stop
<stop stop-color="#af97b4"/>
CSS variable + fill
:root { --c: #af97b4; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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