Skip to content
Vectorlight.net

#b2a2ba

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

HEX
#b2a2ba
RGB
178, 162, 186
HSL
280°, 14.81%, 68.24%
OKLCH
0.73 0.04 314.57
Names
—
Lists

Codes

FormatValue
HEX#b2a2ba
RGBrgb(178 162 186)
HSLhsl(280 14.81% 68.24%)
OKLCHoklch(0.73 0.04 314.57)
CMYKcmyk(4.3% 12.9% 0% 27.06%)
Android#ffb2a2ba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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