Skip to content

#b2bab2

a light, muted gray · cool · closest name: silver

RGB
178, 186, 178
HSL
120°, 6%, 71%
CMYK
4, 0, 4, 27
Luminance
0.4780

Every format

HEX#b2bab2
RGBrgb(178, 186, 178)
HSLhsl(120, 6%, 71%)
CMYKcmyk(4%, 0%, 4%, 27%)
LABlab(74.7 -4.3 3.1)
LCHlch(74.7 5.3 144.2)
OKLCHoklch(0.780 0.014 145.4)

Copy-ready code

/* CSS */
color: #b2bab2;
background-color: #b2bab2;
/* Tailwind (arbitrary) */
class="text-[#b2bab2] bg-[#b2bab2]"
/* SCSS */
$brand: #b2bab2;
/* SwiftUI */
Color(red: 0.698, green: 0.729, blue: 0.698)
/* Android */
Color.parseColor("#b2bab2")

Accessibility — WCAG contrast

Aa
#b2bab2 on white: 1.99:1
AA ✗ fail · AA-large · AAA
Aa
#b2bab2 on black: 10.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green72.9%
Blue69.8%

CMYK percentages

Cyan4.3%
Magenta0.0%
Yellow4.3%
Key (black)27.1%

Color previews

#b2bab2 text on a black background

contrast 10.56:1

Card sample

#b2bab2 text on a white background

contrast 1.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #b2bab2;
Background color
Panel with #b2bab2 background
background-color: #b2bab2;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #b2bab2;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(178, 186, 178, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(178, 186, 178, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b2bab2;
background: linear-gradient(135deg, #b2bab2, #B2BAB7);

Monochromatic scale

Palettes built from #b2bab2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2bab2 in the Color Lab