#ABABAF#ABABAF

#ABABAF is a light, near-neutral grey. Relative luminance 0.409; OKLCH L 74.2% C 0.006 H 286.3°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#ABABAF
RGBrgb(171, 171, 175)
HSLhsl(240, 2%, 68%)
HSVhsv(240, 2%, 69%)
CMYKcmyk(2.3%, 2.3%, 0%, 31.4%)
CIE-LABlab(70.09, 0.76, -2.05)
CIE-LCHlch(70.09, 2.19, 290.40°)
OKLaboklab(74.24% 0.0016 -0.0054)
OKLCHoklch(74.24% 0.006 286.3)
XYZxyz(39.0940, 40.8788, 46.3800)
Luminance0.4088 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABABAF #AFAFAB
analogous
#ABADAF #ABABAF #ADABAF
triadic
#ABABAF #AFABAB #ABAFAB
tetradic
#ABABAF #AFABAD #AFAFAB #ABAFAD
square
#ABABAF #AFABAD #AFAFAB #ABAFAD
split-complementary
#ABABAF #AFADAB #ADAFAB
monochromatic
#6D6D73 #8C8C91 #ABABAF #CACACD #EAEAEB

Accessibility & contrast

On white

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

On black

9.18
#ABABAF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABABAF
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABABAF#FFFFFF#000000##000000
##ABABAF1.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ababaf;
/* rgb */ color: rgb(171, 171, 175);
/* oklch */ color: oklch(74.2% 0.006 286.3);
Tailwind
colors: {
  custom: {
    50: '#c4c4c6',
    500: '#ababaf',
    950: '#000000',
  },
}
SCSS
$custom: #ababaf;
$custom-light: #c4c4c6;
$custom-dark: #000000;
JSON
{
  "hex": "#ababaf",
  "rgb": {
    "r": 171,
    "g": 171,
    "b": 175
  },
  "hsl": {
    "h": 240,
    "s": 2.439,
    "l": 67.843
  },
  "oklch": {
    "l": 0.74244,
    "c": 0.00568,
    "h": 286.3
  },
  "luminance": 0.40879
}

Semantic roles & 50–950 ramp

primary
#ABABAF
secondary
#DCDCDA
accent
#8C598C
background
#FCFCFC
surface
#F8F8F8
border
#D1D1D1
text
#121213
muted
#818182

Preview Lab

Preview with #ABABAF

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

Preview Lab → · Contrast checker → · Palette generator →

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