Skip to content
Vectorlight.net

#b166ac

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

HEX
#b166ac
RGB
177, 102, 172
HSL
304°, 32.47%, 54.71%
OKLCH
0.62 0.13 329.47
Names
—
Lists

Codes

FormatValue
HEX#b166ac
RGBrgb(177 102 172)
HSLhsl(304 32.47% 54.71%)
OKLCHoklch(0.62 0.13 329.47)
CMYKcmyk(0% 42.37% 2.82% 30.59%)
Android#ffb166ac

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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