#AFABAC#AFABAC

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

Color values

HEX#AFABAC
RGBrgb(175, 171, 172)
HSLhsl(345, 2%, 68%)
HSVhsv(345, 2%, 69%)
CMYKcmyk(0%, 2.3%, 1.7%, 31.4%)
CIE-LABlab(70.33, 1.61, -0.01)
CIE-LCHlch(70.33, 1.61, 359.73°)
OKLaboklab(74.48% 0.0048 0)
OKLCHoklch(74.48% 0.005 0)
XYZxyz(39.6874, 41.2185, 44.8869)
Luminance0.4122 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFABAC #ABAFAE
analogous
#AFABAE #AFABAC #AFACAB
triadic
#AFABAC #ACAFAB #ABACAF
tetradic
#AFABAC #AEAFAB #ABAFAE #ACABAF
square
#AFABAC #AEAFAB #ABAFAE #ACABAF
split-complementary
#AFABAC #ABAFAC #ABAEAF
monochromatic
#736D6E #918C8D #AFABAC #CDCACB #EBEAEA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFABAC#FFFFFF#000000##000000
##AFABAC1.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)
#ABACAC
Deuteranopia (green-blind)
#ACACAC
Tritanopia (blue-blind)
#B0ABAB
Achromatopsia (no color)
#ACACAC

Design tokens & code

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

Semantic roles & 50–950 ramp

primary
#AFABAC
secondary
#DADCDB
accent
#8C7F59
background
#FCFCFC
surface
#F8F8F8
border
#D1D1D1
text
#131212
muted
#828181

Preview Lab

Preview with #AFABAC

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

Preview Lab → · Contrast checker → · Palette generator →

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