#ABABA5#ABABA5

#ABABA5 is a light, near-neutral grey. Relative luminance 0.405; OKLCH L 73.9% C 0.008 H 106.6°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#ABABA5
RGBrgb(171, 171, 165)
HSLhsl(60, 3%, 66%)
HSVhsv(60, 4%, 67%)
CMYKcmyk(0%, 0%, 3.5%, 32.9%)
CIE-LABlab(69.82, -1.11, 3.08)
CIE-LCHlch(69.82, 3.28, 109.84°)
OKLaboklab(73.95% -0.0024 0.0081)
OKLCHoklch(73.95% 0.008 106.6)
XYZxyz(38.1480, 40.5004, 41.3977)
Luminance0.4050 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABABA5 #A5A5AB
analogous
#ABA8A5 #ABABA5 #A8ABA5
triadic
#ABABA5 #A5ABAB #ABA5AB
tetradic
#ABABA5 #A5ABA8 #A5A5AB #ABA5A8
square
#ABABA5 #A5ABA8 #A5A5AB #ABA5A8
split-complementary
#ABABA5 #A5A8AB #A8A5AB
monochromatic
#6E6E67 #8D8D85 #ABABA5 #C9C9C5 #E6E6E4

Accessibility & contrast

On white

2.31
#ABABA5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#ABABA5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABABA5
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABABA5#FFFFFF#000000##000000
##ABABA51.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACAAA5
Deuteranopia (green-blind)
#ACABA5
Tritanopia (blue-blind)
#ACAAA9
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #ababa5;
/* rgb */ color: rgb(171, 171, 165);
/* oklch */ color: oklch(73.9% 0.008 106.6);
Tailwind
colors: {
  custom: {
    50: '#c4c4bf',
    500: '#ababa5',
    950: '#000000',
  },
}
SCSS
$custom: #ababa5;
$custom-light: #c4c4bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ababa5",
  "rgb": {
    "r": 171,
    "g": 171,
    "b": 165
  },
  "hsl": {
    "h": 60,
    "s": 3.448,
    "l": 65.882
  },
  "oklch": {
    "l": 0.73946,
    "c": 0.00847,
    "h": 106.6
  },
  "luminance": 0.405
}

Semantic roles & 50–950 ramp

primary
#ABABA5
secondary
#D5D5D7
accent
#588D58
background
#FCFCFB
surface
#F8F8F7
border
#D1D1D0
text
#121212
muted
#818181

Preview Lab

Preview with #ABABA5

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#ABABA5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva