Skip to content
Vectorlight.net

#afa0bb

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

HEX
#afa0bb
RGB
175, 160, 187
HSL
273.33°, 16.56%, 68.04%
OKLCH
0.73 0.04 310.13
Names
—
Lists

Codes

FormatValue
HEX#afa0bb
RGBrgb(175 160 187)
HSLhsl(273.33 16.56% 68.04%)
OKLCHoklch(0.73 0.04 310.13)
CMYKcmyk(6.42% 14.44% 0% 26.67%)
Android#ffafa0bb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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