Skip to content

#afb7ba

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

RGB
175, 183, 186
HSL
196°, 7%, 71%
CMYK
6, 2, 0, 27
Luminance
0.4653

Every format

HEX#afb7ba
RGBrgb(175, 183, 186)
HSLhsl(196, 7%, 71%)
CMYKcmyk(6%, 2%, 0%, 27%)
LABlab(73.9 -2.2 -2.5)
LCHlch(73.9 3.3 228.5)
OKLCHoklch(0.774 0.010 222.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afb7ba on white: 2.04:1
AA ✗ fail · AA-large · AAA
Aa
#afb7ba on black: 10.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green71.8%
Blue72.9%

CMYK percentages

Cyan5.9%
Magenta1.6%
Yellow0.0%
Key (black)27.1%

Color previews

#afb7ba text on a black background

contrast 10.31:1

Card sample

#afb7ba text on a white background

contrast 2.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afb7ba

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afb7ba in the Color Lab