Skip to content
Vectorlight.net

#afa4c0

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

HEX
#afa4c0
RGB
175, 164, 192
HSL
263.57°, 18.18%, 69.8%
OKLCH
0.74 0.04 303.22
Names
—
Lists

Codes

FormatValue
HEX#afa4c0
RGBrgb(175 164 192)
HSLhsl(263.57 18.18% 69.8%)
OKLCHoklch(0.74 0.04 303.22)
CMYKcmyk(8.85% 14.58% 0% 24.71%)
Android#ffafa4c0

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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