#ABACAB#ABACAB

#ABACAB is a light, near-neutral grey. Relative luminance 0.411; OKLCH L 74.3% C 0.002 H 145.6°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#ABACAB
RGBrgb(171, 172, 171)
HSLhsl(120, 1%, 67%)
HSVhsv(120, 1%, 67%)
CMYKcmyk(0.6%, 0%, 0.6%, 32.5%)
CIE-LABlab(70.25, -0.54, 0.39)
CIE-LCHlch(70.25, 0.67, 144.40°)
OKLaboklab(74.33% -0.0015 0.001)
OKLCHoklch(74.33% 0.002 145.6)
XYZxyz(38.8966, 41.1032, 44.4047)
Luminance0.4110 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABACAB #ACABAC
analogous
#ACACAB #ABACAB #ABACAC
triadic
#ABACAB #ABABAC #ACABAB
tetradic
#ABACAB #ABACAC #ACABAC #ACACAB
square
#ABACAB #ABACAC #ACABAC #ACACAB
split-complementary
#ABACAB #ACABAC #ACABAC
monochromatic
#6E6F6E #8C8E8C #ABACAB #CACACA #E9E9E9

Accessibility & contrast

On white

2.28
#ABACAB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#ABACAB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABACAB
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABACAB#FFFFFF#000000##000000
##ABACAB1.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACACAB
Deuteranopia (green-blind)
#ACACAB
Tritanopia (blue-blind)
#ABACAC
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #abacab;
/* rgb */ color: rgb(171, 172, 171);
/* oklch */ color: oklch(74.3% 0.002 145.6);
Tailwind
colors: {
  custom: {
    50: '#c4c4c4',
    500: '#abacab',
    950: '#000000',
  },
}
SCSS
$custom: #abacab;
$custom-light: #c4c4c4;
$custom-dark: #000000;
JSON
{
  "hex": "#abacab",
  "rgb": {
    "r": 171,
    "g": 172,
    "b": 171
  },
  "hsl": {
    "h": 120,
    "s": 0.599,
    "l": 67.255
  },
  "oklch": {
    "l": 0.74332,
    "c": 0.00181,
    "h": 145.6
  },
  "luminance": 0.41103
}

Semantic roles & 50–950 ramp

primary
#ABACAB
secondary
#DAD9DA
accent
#5B8A8A
background
#FCFCFC
surface
#F8F8F8
border
#D1D1D1
text
#121212
muted
#818181

Preview Lab

Preview with #ABACAB

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

Preview Lab → · Contrast checker → · Palette generator →

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