Skip to content

#afb4ba

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

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

Every format

HEX#afb4ba
RGBrgb(175, 180, 186)
HSLhsl(213, 7%, 71%)
CMYKcmyk(6%, 3%, 0%, 27%)
LABlab(73.1 -0.6 -3.6)
LCHlch(73.1 3.7 261.0)
OKLCHoklch(0.768 0.010 252.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afb4ba on white: 2.09:1
AA ✗ fail · AA-large · AAA
Aa
#afb4ba on black: 10.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green70.6%
Blue72.9%

CMYK percentages

Cyan5.9%
Magenta3.2%
Yellow0.0%
Key (black)27.1%

Color previews

#afb4ba text on a black background

contrast 10.06:1

Card sample

#afb4ba text on a white background

contrast 2.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afb4ba

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afb4ba in the Color Lab