#ABABAC#ABABAC

#ABABAC is a light, near-neutral grey. Relative luminance 0.408; OKLCH L 74.2% C 0.001 H 286.4°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#ABABAC
RGBrgb(171, 171, 172)
HSLhsl(240, 1%, 67%)
HSVhsv(240, 1%, 67%)
CMYKcmyk(0.6%, 0.6%, 0%, 32.5%)
CIE-LABlab(70.01, 0.19, -0.51)
CIE-LCHlch(70.01, 0.55, 290.21°)
OKLaboklab(74.15% 0.0004 -0.0014)
OKLCHoklch(74.15% 0.001 286.4)
XYZxyz(38.8026, 40.7623, 44.8454)
Luminance0.4076 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

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

Accessibility & contrast

On white

2.29
#ABABAC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.15
#ABABAC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABABAC
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABABAC#FFFFFF#000000##000000
##ABABAC1.002.299.159.15
#FFFFFF2.291.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ababac;
/* rgb */ color: rgb(171, 171, 172);
/* oklch */ color: oklch(74.2% 0.001 286.4);
Tailwind
colors: {
  custom: {
    50: '#c4c4c4',
    500: '#ababac',
    950: '#000000',
  },
}
SCSS
$custom: #ababac;
$custom-light: #c4c4c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ababac",
  "rgb": {
    "r": 171,
    "g": 171,
    "b": 172
  },
  "hsl": {
    "h": 240,
    "s": 0.599,
    "l": 67.255
  },
  "oklch": {
    "l": 0.74153,
    "c": 0.00142,
    "h": 286.4
  },
  "luminance": 0.40762
}

Semantic roles & 50–950 ramp

primary
#ABABAC
secondary
#DADAD9
accent
#8A5B8A
background
#FCFCFC
surface
#F8F8F8
border
#D1D1D1
text
#121212
muted
#818181

Preview Lab

Preview with #ABABAC

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

Preview Lab → · Contrast checker → · Palette generator →

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