Skip to content
Vectorlight.net

#af9cb2

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

HEX
#af9cb2
RGB
175, 156, 178
HSL
291.82°, 12.5%, 65.49%
OKLCH
0.72 0.04 321.64
Names
—
Lists

Codes

FormatValue
HEX#af9cb2
RGBrgb(175 156 178)
HSLhsl(291.82 12.5% 65.49%)
OKLCHoklch(0.72 0.04 321.64)
CMYKcmyk(1.69% 12.36% 0% 30.2%)
Android#ffaf9cb2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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