Skip to content

#ababa5

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

RGB
171, 171, 165
HSL
60°, 3%, 66%
CMYK
0, 0, 4, 33
Luminance
0.4050

Every format

HEX#ababa5
RGBrgb(171, 171, 165)
HSLhsl(60, 3%, 66%)
CMYKcmyk(0%, 0%, 4%, 33%)
LABlab(69.8 -1.1 3.1)
LCHlch(69.8 3.3 109.8)
OKLCHoklch(0.740 0.009 106.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red67.1%
Green67.1%
Blue64.7%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow3.5%
Key (black)32.9%

Color previews

#ababa5 text on a black background

contrast 9.10:1

Card sample

#ababa5 text on a white background

contrast 2.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ababa5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ababa5 in the Color Lab