#ABABA7#ABABA7

#ABABA7 is a light, near-neutral grey. Relative luminance 0.406; OKLCH L 74.0% C 0.006 H 106.5°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#ABABA7
RGBrgb(171, 171, 167)
HSLhsl(60, 2%, 66%)
HSVhsv(60, 2%, 67%)
CMYKcmyk(0%, 0%, 2.3%, 32.9%)
CIE-LABlab(69.88, -0.75, 2.06)
CIE-LCHlch(69.88, 2.19, 109.95°)
OKLaboklab(74% -0.0016 0.0054)
OKLCHoklch(74% 0.006 106.5)
XYZxyz(38.3315, 40.5738, 42.3639)
Luminance0.4057 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABABA7 #A7A7AB
analogous
#ABA9A7 #ABABA7 #A9ABA7
triadic
#ABABA7 #A7ABAB #ABA7AB
tetradic
#ABABA7 #A7ABA9 #A7A7AB #ABA7A9
square
#ABABA7 #A7ABA9 #A7A7AB #ABA7A9
split-complementary
#ABABA7 #A7A9AB #A9A7AB
monochromatic
#6E6E69 #8D8D88 #ABABA7 #C9C9C6 #E7E7E6

Accessibility & contrast

On white

2.30
#ABABA7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#ABABA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABABA7
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABABA7#FFFFFF#000000##000000
##ABABA71.002.309.119.11
#FFFFFF2.301.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACABA7
Deuteranopia (green-blind)
#ACABA7
Tritanopia (blue-blind)
#ACAAAA
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #ababa7;
/* rgb */ color: rgb(171, 171, 167);
/* oklch */ color: oklch(74.0% 0.006 106.5);
Tailwind
colors: {
  custom: {
    50: '#c4c4c1',
    500: '#ababa7',
    950: '#000000',
  },
}
SCSS
$custom: #ababa7;
$custom-light: #c4c4c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ababa7",
  "rgb": {
    "r": 171,
    "g": 171,
    "b": 167
  },
  "hsl": {
    "h": 60,
    "s": 2.326,
    "l": 66.275
  },
  "oklch": {
    "l": 0.74004,
    "c": 0.00565,
    "h": 106.5
  },
  "luminance": 0.40574
}

Semantic roles & 50–950 ramp

primary
#ABABA7
secondary
#D6D6D8
accent
#598C59
background
#FCFCFB
surface
#F8F8F7
border
#D1D1D0
text
#121212
muted
#818181

Preview Lab

Preview with #ABABA7

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

Preview Lab → · Contrast checker → · Palette generator →

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