Skip to content

#aaaaaf

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

RGB
170, 170, 175
HSL
240°, 3%, 68%
CMYK
3, 3, 0, 31
Luminance
0.4039

Every format

HEX#aaaaaf
RGBrgb(170, 170, 175)
HSLhsl(240, 3%, 68%)
CMYKcmyk(3%, 3%, 0%, 31%)
LABlab(69.8 1.0 -2.6)
LCHlch(69.8 2.7 290.6)
OKLCHoklch(0.740 0.007 286.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aaaaaf on white: 2.31:1
AA ✗ fail · AA-large · AAA
Aa
#aaaaaf on black: 9.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.7%
Green66.7%
Blue68.6%

CMYK percentages

Cyan2.9%
Magenta2.9%
Yellow0.0%
Key (black)31.4%

Color previews

#aaaaaf text on a black background

contrast 9.08:1

Card sample

#aaaaaf text on a white background

contrast 2.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aaaaaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aaaaaf in the Color Lab