Skip to content

#a0a0a0

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

RGB
160, 160, 160
HSL
0°, 0%, 63%
CMYK
0, 0, 0, 37
Luminance
0.3515

Every format

HEX#a0a0a0
RGBrgb(160, 160, 160)
HSLhsl(0, 0%, 63%)
CMYKcmyk(0%, 0%, 0%, 37%)
LABlab(65.9 0.0 0.0)
LCHlch(65.9 0.0 180.0)
OKLCHoklch(0.706 0.000 89.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a0a0a0 on white: 2.61:1
AA ✗ fail · AA-large · AAA
Aa
#a0a0a0 on black: 8.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red62.7%
Green62.7%
Blue62.7%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow0.0%
Key (black)37.3%

Color previews

#a0a0a0 text on a black background

contrast 8.03:1

Card sample

#a0a0a0 text on a white background

contrast 2.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a0a0a0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a0a0a0 in the Color Lab