#A8A7AB#A8A7AB

#A8A7AB is a light, near-neutral grey. Relative luminance 0.389; OKLCH L 73.0% C 0.006 H 297.7°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#A8A7AB
RGBrgb(168, 167, 171)
HSLhsl(255, 2%, 66%)
HSVhsv(255, 2%, 67%)
CMYKcmyk(1.8%, 2.3%, 0%, 32.9%)
CIE-LABlab(68.68, 1.12, -1.93)
CIE-LCHlch(68.68, 2.23, 300.05°)
OKLaboklab(73.04% 0.0027 -0.0051)
OKLCHoklch(73.04% 0.006 297.7)
XYZxyz(37.3166, 38.9025, 44.0632)
Luminance0.3890 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A7AB #AAABA7
analogous
#A7A8AB #A8A7AB #AAA7AB
triadic
#A8A7AB #ABA8A7 #A7ABA8
tetradic
#A8A7AB #ABA7A8 #AAABA7 #A7ABAA
square
#A8A7AB #ABA7A8 #AAABA7 #A7ABAA
split-complementary
#A8A7AB #ABAAA7 #A8ABA7
monochromatic
#6B696E #89888D #A8A7AB #C7C6C9 #E6E6E7

Accessibility & contrast

On white

2.39
#A8A7AB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#A8A7AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A7AB
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A7AB#FFFFFF#000000##000000
##A8A7AB1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6A8AB
Deuteranopia (green-blind)
#A6A7AB
Tritanopia (blue-blind)
#A8A8A8
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a8a7ab;
/* rgb */ color: rgb(168, 167, 171);
/* oklch */ color: oklch(73.0% 0.006 297.7);
Tailwind
colors: {
  custom: {
    50: '#c1c1c4',
    500: '#a8a7ab',
    950: '#000000',
  },
}
SCSS
$custom: #a8a7ab;
$custom-light: #c1c1c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a7ab",
  "rgb": {
    "r": 168,
    "g": 167,
    "b": 171
  },
  "hsl": {
    "h": 255,
    "s": 2.326,
    "l": 66.275
  },
  "oklch": {
    "l": 0.73042,
    "c": 0.00579,
    "h": 297.7
  },
  "luminance": 0.38903
}

Semantic roles & 50–950 ramp

primary
#A8A7AB
secondary
#D7D8D6
accent
#8C597F
background
#FBFBFC
surface
#F7F7F8
border
#D0D0D1
text
#121212
muted
#818181

Preview Lab

Preview with #A8A7AB

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

Preview Lab → · Contrast checker → · Palette generator →

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