#ABABAB#ABABAB

#ABABAB is a light, near-neutral grey. Relative luminance 0.407; OKLCH L 74.1% C 0.000 H 0.0°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#ABABAB
RGBrgb(171, 171, 171)
HSLhsl(0, 0%, 67%)
HSVhsv(0, 0%, 67%)
CMYKcmyk(0%, 0%, 0%, 32.9%)
CIE-LABlab(69.98, 0.00, 0.00)
CIE-LCHlch(69.98, 0.00, 0.00°)
OKLaboklab(74.12% 0 0)
OKLCHoklch(74.12% 0 0)
XYZxyz(38.7070, 40.7240, 44.3415)
Luminance0.4072 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABABAB #ABABAB
analogous
#ABABAB #ABABAB #ABABAB
triadic
#ABABAB #ABABAB #ABABAB
tetradic
#ABABAB #ABABAB #ABABAB #ABABAB
square
#ABABAB #ABABAB #ABABAB #ABABAB
split-complementary
#ABABAB #ABABAB #ABABAB
monochromatic
#6E6E6E #8C8C8C #ABABAB #CACACA #E8E8E8

Accessibility & contrast

On white

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

On black

9.14
#ABABAB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABABAB
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABABAB#FFFFFF#000000##000000
##ABABAB1.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ababab;
/* rgb */ color: rgb(171, 171, 171);
/* oklch */ color: oklch(74.1% 0.000 0.0);
Tailwind
colors: {
  custom: {
    50: '#c4c4c4',
    500: '#ababab',
    950: '#000000',
  },
}
SCSS
$custom: #ababab;
$custom-light: #c4c4c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ababab",
  "rgb": {
    "r": 171,
    "g": 171,
    "b": 171
  },
  "hsl": {
    "h": 0,
    "s": 0,
    "l": 67.059
  },
  "oklch": {
    "l": 0.74123,
    "c": 0,
    "h": 0
  },
  "luminance": 0.40724
}

Semantic roles & 50–950 ramp

primary
#ABABAB
secondary
#D9D9D9
accent
#8A8A5C
background
#FCFCFC
surface
#F8F8F8
border
#D1D1D1
text
#121212
muted
#818181

Preview Lab

Preview with #ABABAB

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

Preview Lab → · Contrast checker → · Palette generator →

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