Skip to content
Vectorlight.net

#afa0b5

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

HEX
#afa0b5
RGB
175, 160, 181
HSL
282.86°, 12.43%, 66.86%
OKLCH
0.73 0.03 316.38
Names
—
Lists

Codes

FormatValue
HEX#afa0b5
RGBrgb(175 160 181)
HSLhsl(282.86 12.43% 66.86%)
OKLCHoklch(0.73 0.03 316.38)
CMYKcmyk(3.31% 11.6% 0% 29.02%)
Android#ffafa0b5

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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