Skip to content

#bab2ba

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

RGB
186, 178, 186
HSL
300°, 6%, 71%
CMYK
0, 4, 0, 27
Luminance
0.4583

Every format

HEX#bab2ba
RGBrgb(186, 178, 186)
HSLhsl(300, 6%, 71%)
CMYKcmyk(0%, 4%, 0%, 27%)
LABlab(73.4 4.3 -3.0)
LCHlch(73.4 5.3 324.7)
OKLCHoklch(0.773 0.014 325.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bab2ba on white: 2.07:1
AA ✗ fail · AA-large · AAA
Aa
#bab2ba on black: 10.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green69.8%
Blue72.9%

CMYK percentages

Cyan0.0%
Magenta4.3%
Yellow0.0%
Key (black)27.1%

Color previews

#bab2ba text on a black background

contrast 10.17:1

Card sample

#bab2ba text on a white background

contrast 2.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bab2ba

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bab2ba in the Color Lab