Skip to content

#ab9da1

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

RGB
171, 157, 161
HSL
343°, 8%, 64%
CMYK
0, 8, 6, 33
Luminance
0.3535

Every format

HEX#ab9da1
RGBrgb(171, 157, 161)
HSLhsl(343, 8%, 64%)
CMYKcmyk(0%, 8%, 6%, 33%)
LABlab(66.0 5.8 -0.2)
LCHlch(66.0 5.8 357.7)
OKLCHoklch(0.709 0.017 358.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ab9da1 on white: 2.60:1
AA ✗ fail · AA-large · AAA
Aa
#ab9da1 on black: 8.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.1%
Green61.6%
Blue63.1%

CMYK percentages

Cyan0.0%
Magenta8.2%
Yellow5.8%
Key (black)32.9%

Color previews

#ab9da1 text on a black background

contrast 8.07:1

Card sample

#ab9da1 text on a white background

contrast 2.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ab9da1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ab9da1 in the Color Lab