Skip to content

#afabb6

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

RGB
175, 171, 182
HSL
262°, 7%, 69%
CMYK
4, 6, 0, 29
Luminance
0.4162

Every format

HEX#afabb6
RGBrgb(175, 171, 182)
HSLhsl(262, 7%, 69%)
CMYKcmyk(4%, 6%, 0%, 29%)
LABlab(70.6 3.5 -5.1)
LCHlch(70.6 6.2 304.5)
OKLCHoklch(0.748 0.016 302.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afabb6 on white: 2.25:1
AA ✗ fail · AA-large · AAA
Aa
#afabb6 on black: 9.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green67.1%
Blue71.4%

CMYK percentages

Cyan3.8%
Magenta6.0%
Yellow0.0%
Key (black)28.6%

Color previews

#afabb6 text on a black background

contrast 9.32:1

Card sample

#afabb6 text on a white background

contrast 2.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afabb6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afabb6 in the Color Lab