Skip to content

#bababa

a light, muted gray · warm · “silver”

RGB
186, 186, 186
HSL
0°, 0%, 73%
CMYK
0, 0, 0, 27
Luminance
0.4910

Every format

HEX#bababa
RGBrgb(186, 186, 186)
HSLhsl(0, 0%, 73%)
CMYKcmyk(0%, 0%, 0%, 27%)
LABlab(75.5 0.0 0.0)
LCHlch(75.5 0.0 180.0)
OKLCHoklch(0.789 0.000 89.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bababa on white: 1.94:1
AA ✗ fail · AA-large · AAA
Aa
#bababa on black: 10.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green72.9%
Blue72.9%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow0.0%
Key (black)27.1%

Color previews

#bababa text on a black background

contrast 10.82:1

Card sample

#bababa text on a white background

contrast 1.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bababa

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bababa in the Color Lab