Skip to content

#ababa2

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

RGB
171, 171, 162
HSL
60°, 5%, 65%
CMYK
0, 0, 5, 33
Luminance
0.4039

Every format

HEX#ababa2
RGBrgb(171, 171, 162)
HSLhsl(60, 5%, 65%)
CMYKcmyk(0%, 0%, 5%, 33%)
LABlab(69.8 -1.7 4.6)
LCHlch(69.8 4.9 109.7)
OKLCHoklch(0.739 0.013 106.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red67.1%
Green67.1%
Blue63.5%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow5.3%
Key (black)32.9%

Color previews

#ababa2 text on a black background

contrast 9.08:1

Card sample

#ababa2 text on a white background

contrast 2.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ababa2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ababa2 in the Color Lab