Skip to content

#bab2af

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

RGB
186, 178, 175
HSL
16°, 7%, 71%
CMYK
0, 4, 6, 27
Luminance
0.4538

Every format

HEX#bab2af
RGBrgb(186, 178, 175)
HSLhsl(16, 7%, 71%)
CMYKcmyk(0%, 4%, 6%, 27%)
LABlab(73.1 2.3 2.5)
LCHlch(73.1 3.4 47.8)
OKLCHoklch(0.769 0.010 41.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bab2af on white: 2.08:1
AA ✗ fail · AA-large · AAA
Aa
#bab2af on black: 10.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green69.8%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta4.3%
Yellow5.9%
Key (black)27.1%

Color previews

#bab2af text on a black background

contrast 10.08:1

Card sample

#bab2af text on a white background

contrast 2.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bab2af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bab2af in the Color Lab