Skip to content

#a4afac

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

RGB
164, 175, 172
HSL
164°, 6%, 67%
CMYK
6, 0, 2, 31
Luminance
0.4153

Every format

HEX#a4afac
RGBrgb(164, 175, 172)
HSLhsl(164, 6%, 67%)
CMYKcmyk(6%, 0%, 2%, 31%)
LABlab(70.5 -4.4 0.2)
LCHlch(70.5 4.4 177.3)
OKLCHoklch(0.744 0.013 177.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red64.3%
Green68.6%
Blue67.5%

CMYK percentages

Cyan6.3%
Magenta0.0%
Yellow1.7%
Key (black)31.4%

Color previews

#a4afac text on a black background

contrast 9.31:1

Card sample

#a4afac text on a white background

contrast 2.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a4afac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a4afac in the Color Lab