Skip to content

#a8a2ab

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

RGB
168, 162, 171
HSL
280°, 5%, 65%
CMYK
2, 5, 0, 33
Luminance
0.3711

Every format

HEX#a8a2ab
RGBrgb(168, 162, 171)
HSLhsl(280, 5%, 65%)
CMYKcmyk(2%, 5%, 0%, 33%)
LABlab(67.4 3.9 -3.9)
LCHlch(67.4 5.5 314.9)
OKLCHoklch(0.720 0.015 314.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a8a2ab on white: 2.49:1
AA ✗ fail · AA-large · AAA
Aa
#a8a2ab on black: 8.42:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red65.9%
Green63.5%
Blue67.1%

CMYK percentages

Cyan1.8%
Magenta5.3%
Yellow0.0%
Key (black)32.9%

Color previews

#a8a2ab text on a black background

contrast 8.42:1

Card sample

#a8a2ab text on a white background

contrast 2.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a8a2ab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a8a2ab in the Color Lab