Skip to content
Vectorlight.net

#afa6be

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

HEX
#afa6be
RGB
175, 166, 190
HSL
262.5°, 15.58%, 69.8%
OKLCH
0.74 0.04 302.56
Names
—
Lists

Codes

FormatValue
HEX#afa6be
RGBrgb(175 166 190)
HSLhsl(262.5 15.58% 69.8%)
OKLCHoklch(0.74 0.04 302.56)
CMYKcmyk(7.89% 12.63% 0% 25.49%)
Android#ffafa6be

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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