Skip to content

#aaa2af

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

RGB
170, 162, 175
HSL
277°, 8%, 66%
CMYK
3, 7, 0, 31
Luminance
0.3748

Every format

HEX#aaa2af
RGBrgb(170, 162, 175)
HSLhsl(277, 8%, 66%)
CMYKcmyk(3%, 7%, 0%, 31%)
LABlab(67.6 5.3 -5.7)
LCHlch(67.6 7.8 313.3)
OKLCHoklch(0.723 0.021 312.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aaa2af on white: 2.47:1
AA ✗ fail · AA-large · AAA
Aa
#aaa2af on black: 8.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.7%
Green63.5%
Blue68.6%

CMYK percentages

Cyan2.9%
Magenta7.4%
Yellow0.0%
Key (black)31.4%

Color previews

#aaa2af text on a black background

contrast 8.50:1

Card sample

#aaa2af text on a white background

contrast 2.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aaa2af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aaa2af in the Color Lab