Skip to content

#ab9dab

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

RGB
171, 157, 171
HSL
300°, 8%, 64%
CMYK
0, 8, 0, 33
Luminance
0.3571

Every format

HEX#ab9dab
RGBrgb(171, 157, 171)
HSLhsl(300, 8%, 64%)
CMYKcmyk(0%, 8%, 0%, 33%)
LABlab(66.3 7.7 -5.4)
LCHlch(66.3 9.4 324.9)
OKLCHoklch(0.712 0.026 325.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ab9dab on white: 2.58:1
AA ✗ fail · AA-large · AAA
Aa
#ab9dab on black: 8.14:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.1%
Green61.6%
Blue67.1%

CMYK percentages

Cyan0.0%
Magenta8.2%
Yellow0.0%
Key (black)32.9%

Color previews

#ab9dab text on a black background

contrast 8.14:1

Card sample

#ab9dab text on a white background

contrast 2.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ab9dab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ab9dab in the Color Lab