Skip to content
Vectorlight.net

#afa1bb

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

HEX
#afa1bb
RGB
175, 161, 187
HSL
272.31°, 16.05%, 68.24%
OKLCH
0.73 0.04 309.45
Names
—
Lists

Codes

FormatValue
HEX#afa1bb
RGBrgb(175 161 187)
HSLhsl(272.31 16.05% 68.24%)
OKLCHoklch(0.73 0.04 309.45)
CMYKcmyk(6.42% 13.9% 0% 26.67%)
Android#ffafa1bb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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