Skip to content
Vectorlight.net

#b166a2

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

HEX
#b166a2
RGB
177, 102, 162
HSL
312°, 32.47%, 54.71%
OKLCH
0.61 0.12 334.76
Names
—
Lists

Codes

FormatValue
HEX#b166a2
RGBrgb(177 102 162)
HSLhsl(312 32.47% 54.71%)
OKLCHoklch(0.61 0.12 334.76)
CMYKcmyk(0% 42.37% 8.47% 30.59%)
Android#ffb166a2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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