Skip to content

#bab3af

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

RGB
186, 179, 175
HSL
22°, 7%, 71%
CMYK
0, 4, 6, 27
Luminance
0.4577

Every format

HEX#bab3af
RGBrgb(186, 179, 175)
HSLhsl(22, 7%, 71%)
CMYKcmyk(0%, 4%, 6%, 27%)
LABlab(73.4 1.8 2.9)
LCHlch(73.4 3.4 58.9)
OKLCHoklch(0.771 0.010 52.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red72.9%
Green70.2%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta3.8%
Yellow5.9%
Key (black)27.1%

Color previews

#bab3af text on a black background

contrast 10.15:1

Card sample

#bab3af text on a white background

contrast 2.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bab3af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bab3af in the Color Lab