Skip to content

#afacab

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

RGB
175, 172, 171
HSL
15°, 2%, 68%
CMYK
0, 2, 2, 31
Luminance
0.4156

Every format

HEX#afacab
RGBrgb(175, 172, 171)
HSLhsl(15, 2%, 68%)
CMYKcmyk(0%, 2%, 2%, 31%)
LABlab(70.6 0.9 0.9)
LCHlch(70.6 1.3 45.3)
OKLCHoklch(0.747 0.004 39.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afacab on white: 2.26:1
AA ✗ fail · AA-large · AAA
Aa
#afacab on black: 9.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green67.5%
Blue67.1%

CMYK percentages

Cyan0.0%
Magenta1.7%
Yellow2.3%
Key (black)31.4%

Color previews

#afacab text on a black background

contrast 9.31:1

Card sample

#afacab text on a white background

contrast 2.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afacab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afacab in the Color Lab