Skip to content

#bab7ba

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

RGB
186, 183, 186
HSL
300°, 2%, 72%
CMYK
0, 2, 0, 27
Luminance
0.4785

Every format

HEX#bab7ba
RGBrgb(186, 183, 186)
HSLhsl(300, 2%, 72%)
CMYKcmyk(0%, 2%, 0%, 27%)
LABlab(74.7 1.6 -1.1)
LCHlch(74.7 2.0 324.5)
OKLCHoklch(0.783 0.005 325.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red72.9%
Green71.8%
Blue72.9%

CMYK percentages

Cyan0.0%
Magenta1.6%
Yellow0.0%
Key (black)27.1%

Color previews

#bab7ba text on a black background

contrast 10.57:1

Card sample

#bab7ba text on a white background

contrast 1.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bab7ba

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bab7ba in the Color Lab