Skip to content

#afb1ba

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

RGB
175, 177, 186
HSL
229°, 7%, 71%
CMYK
6, 5, 0, 27
Luminance
0.4410

Every format

HEX#afb1ba
RGBrgb(175, 177, 186)
HSLhsl(229, 7%, 71%)
CMYKcmyk(6%, 5%, 0%, 27%)
LABlab(72.3 1.0 -4.8)
LCHlch(72.3 4.9 282.2)
OKLCHoklch(0.761 0.013 276.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afb1ba on white: 2.14:1
AA ✗ fail · AA-large · AAA
Aa
#afb1ba on black: 9.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green69.4%
Blue72.9%

CMYK percentages

Cyan5.9%
Magenta4.8%
Yellow0.0%
Key (black)27.1%

Color previews

#afb1ba text on a black background

contrast 9.82:1

Card sample

#afb1ba text on a white background

contrast 2.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afb1ba

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afb1ba in the Color Lab