#AFABAB#AFABAB

#AFABAB is a light, near-neutral grey. Relative luminance 0.412; OKLCH L 74.5% C 0.005 H 17.2°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#AFABAB
RGBrgb(175, 171, 171)
HSLhsl(0, 2%, 68%)
HSVhsv(0, 2%, 69%)
CMYKcmyk(0%, 2.3%, 2.3%, 31.4%)
CIE-LABlab(70.30, 1.42, 0.51)
CIE-LCHlch(70.30, 1.51, 19.54°)
OKLaboklab(74.45% 0.0044 0.0014)
OKLCHoklch(74.45% 0.005 17.2)
XYZxyz(39.5917, 41.1802, 44.3830)
Luminance0.4118 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFABAB #ABAFAF
analogous
#AFABAD #AFABAB #AFADAB
triadic
#AFABAB #ABAFAB #ABABAF
tetradic
#AFABAB #ADAFAB #ABAFAF #ADABAF
square
#AFABAB #ADAFAB #ABAFAF #ADABAF
split-complementary
#AFABAB #ABAFAD #ABADAF
monochromatic
#736D6D #918C8C #AFABAB #CDCACA #EBEAEA

Accessibility & contrast

On white

2.27
#AFABAB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#AFABAB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFABAB
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFABAB#FFFFFF#000000##000000
##AFABAB1.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afabab;
/* rgb */ color: rgb(175, 171, 171);
/* oklch */ color: oklch(74.5% 0.005 17.2);
Tailwind
colors: {
  custom: {
    50: '#c6c4c4',
    500: '#afabab',
    950: '#000000',
  },
}
SCSS
$custom: #afabab;
$custom-light: #c6c4c4;
$custom-dark: #000000;
JSON
{
  "hex": "#afabab",
  "rgb": {
    "r": 175,
    "g": 171,
    "b": 171
  },
  "hsl": {
    "h": 0,
    "s": 2.439,
    "l": 67.843
  },
  "oklch": {
    "l": 0.74452,
    "c": 0.00459,
    "h": 17.2
  },
  "luminance": 0.4118
}

Semantic roles & 50–950 ramp

primary
#AFABAB
secondary
#DADCDC
accent
#8C8C59
background
#FCFCFC
surface
#F8F8F8
border
#D1D1D1
text
#131212
muted
#828181

Preview Lab

Preview with #AFABAB

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

Preview Lab → · Contrast checker → · Palette generator →

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