Skip to content

#abacab

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

RGB
171, 172, 171
HSL
120°, 1%, 67%
CMYK
1, 0, 1, 33
Luminance
0.4110

Every format

HEX#abacab
RGBrgb(171, 172, 171)
HSLhsl(120, 1%, 67%)
CMYKcmyk(1%, 0%, 1%, 33%)
LABlab(70.3 -0.5 0.4)
LCHlch(70.3 0.7 144.2)
OKLCHoklch(0.743 0.002 145.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#abacab on white: 2.28:1
AA ✗ fail · AA-large · AAA
Aa
#abacab on black: 9.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.1%
Green67.5%
Blue67.1%

CMYK percentages

Cyan0.6%
Magenta0.0%
Yellow0.6%
Key (black)32.5%

Color previews

#abacab text on a black background

contrast 9.22:1

Card sample

#abacab text on a white background

contrast 2.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #abacab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #abacab in the Color Lab