#ABAFAB#ABAFAB

#ABAFAB is a light, near-neutral grey. Relative luminance 0.423; OKLCH L 75.0% C 0.007 H 145.5°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#ABAFAB
RGBrgb(171, 175, 171)
HSLhsl(120, 2%, 68%)
HSVhsv(120, 2%, 69%)
CMYKcmyk(2.3%, 0%, 2.3%, 31.4%)
CIE-LABlab(71.05, -2.16, 1.55)
CIE-LCHlch(71.05, 2.66, 144.32°)
OKLaboklab(74.96% -0.0059 0.0041)
OKLCHoklch(74.96% 0.007 145.5)
XYZxyz(39.4740, 42.2580, 44.5972)
Luminance0.4226 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAFAB #AFABAF
analogous
#ADAFAB #ABAFAB #ABAFAD
triadic
#ABAFAB #ABABAF #AFABAB
tetradic
#ABAFAB #ABADAF #AFABAF #AFADAB
square
#ABAFAB #ABADAF #AFABAF #AFADAB
split-complementary
#ABAFAB #ADABAF #AFABAD
monochromatic
#6D736D #8C918C #ABAFAB #CACDCA #EAEBEA

Accessibility & contrast

On white

2.22
#ABAFAB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.45
#ABAFAB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAFAB
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAFAB#FFFFFF#000000##000000
##ABAFAB1.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFAEAB
Deuteranopia (green-blind)
#AEAEAB
Tritanopia (blue-blind)
#ABAFAE
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #abafab;
/* rgb */ color: rgb(171, 175, 171);
/* oklch */ color: oklch(75.0% 0.007 145.5);
Tailwind
colors: {
  custom: {
    50: '#c4c6c4',
    500: '#abafab',
    950: '#000000',
  },
}
SCSS
$custom: #abafab;
$custom-light: #c4c6c4;
$custom-dark: #000000;
JSON
{
  "hex": "#abafab",
  "rgb": {
    "r": 171,
    "g": 175,
    "b": 171
  },
  "hsl": {
    "h": 120,
    "s": 2.439,
    "l": 67.843
  },
  "oklch": {
    "l": 0.74961,
    "c": 0.00721,
    "h": 145.5
  },
  "luminance": 0.42258
}

Semantic roles & 50–950 ramp

primary
#ABAFAB
secondary
#DCDADC
accent
#598C8C
background
#FCFCFC
surface
#F8F8F8
border
#D1D1D1
text
#121312
muted
#818281

Preview Lab

Preview with #ABAFAB

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

Preview Lab → · Contrast checker → · Palette generator →

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