Skip to content

#aaafb2

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

RGB
170, 175, 178
HSL
203°, 5%, 68%
CMYK
5, 2, 0, 30
Luminance
0.4242

Every format

HEX#aaafb2
RGBrgb(170, 175, 178)
HSLhsl(203, 5%, 68%)
CMYKcmyk(5%, 2%, 0%, 30%)
LABlab(71.2 -1.2 -2.1)
LCHlch(71.2 2.4 241.1)
OKLCHoklch(0.751 0.007 233.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aaafb2 on white: 2.21:1
AA ✗ fail · AA-large · AAA
Aa
#aaafb2 on black: 9.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.7%
Green68.6%
Blue69.8%

CMYK percentages

Cyan4.5%
Magenta1.7%
Yellow0.0%
Key (black)30.2%

Color previews

#aaafb2 text on a black background

contrast 9.48:1

Card sample

#aaafb2 text on a white background

contrast 2.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aaafb2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aaafb2 in the Color Lab