Skip to content

#afacb0

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

RGB
175, 172, 176
HSL
285°, 3%, 68%
CMYK
1, 2, 0, 31
Luminance
0.4175

Every format

HEX#afacb0
RGBrgb(175, 172, 176)
HSLhsl(285, 3%, 68%)
CMYKcmyk(1%, 2%, 0%, 31%)
LABlab(70.7 1.8 -1.7)
LCHlch(70.7 2.5 317.5)
OKLCHoklch(0.748 0.007 317.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afacb0 on white: 2.25:1
AA ✗ fail · AA-large · AAA
Aa
#afacb0 on black: 9.35:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green67.5%
Blue69.0%

CMYK percentages

Cyan0.6%
Magenta2.3%
Yellow0.0%
Key (black)31.0%

Color previews

#afacb0 text on a black background

contrast 9.35:1

Card sample

#afacb0 text on a white background

contrast 2.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afacb0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afacb0 in the Color Lab