Skip to content

#a2ab9d

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

RGB
162, 171, 157
HSL
99°, 8%, 64%
CMYK
5, 0, 8, 33
Luminance
0.3924

Every format

HEX#a2ab9d
RGBrgb(162, 171, 157)
HSLhsl(99, 8%, 64%)
CMYKcmyk(5%, 0%, 8%, 33%)
LABlab(68.9 -5.8 6.1)
LCHlch(68.9 8.4 133.6)
OKLCHoklch(0.730 0.022 134.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a2ab9d on white: 2.37:1
AA ✗ fail · AA-large · AAA
Aa
#a2ab9d on black: 8.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red63.5%
Green67.1%
Blue61.6%

CMYK percentages

Cyan5.3%
Magenta0.0%
Yellow8.2%
Key (black)32.9%

Color previews

#a2ab9d text on a black background

contrast 8.85:1

Card sample

#a2ab9d text on a white background

contrast 2.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(162, 171, 157, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(162, 171, 157, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a2ab9d;
background: linear-gradient(135deg, #a2ab9d, #9DABA1);

Monochromatic scale

Palettes built from #a2ab9d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a2ab9d in the Color Lab