Skip to content

#b4afba

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

RGB
180, 175, 186
HSL
267°, 7%, 71%
CMYK
3, 6, 0, 27
Luminance
0.4391

Every format

HEX#b4afba
RGBrgb(180, 175, 186)
HSLhsl(267, 7%, 71%)
CMYKcmyk(3%, 6%, 0%, 27%)
LABlab(72.2 3.9 -5.0)
LCHlch(72.2 6.3 307.8)
OKLCHoklch(0.761 0.016 306.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b4afba on white: 2.15:1
AA ✗ fail · AA-large · AAA
Aa
#b4afba on black: 9.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red70.6%
Green68.6%
Blue72.9%

CMYK percentages

Cyan3.2%
Magenta5.9%
Yellow0.0%
Key (black)27.1%

Color previews

#b4afba text on a black background

contrast 9.78:1

Card sample

#b4afba text on a white background

contrast 2.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b4afba

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b4afba in the Color Lab