#8A797A#8A797A

#8A797A is a mid, muted grey. Relative luminance 0.205; OKLCH L 59.2% C 0.021 H 13.7°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#8A797A
RGBrgb(138, 121, 122)
HSLhsl(356, 7%, 51%)
HSVhsv(356, 12%, 54%)
CMYKcmyk(0%, 12.3%, 11.6%, 45.9%)
CIE-LABlab(52.38, 6.72, 1.86)
CIE-LCHlch(52.38, 6.97, 15.46°)
OKLaboklab(59.2% 0.0205 0.005)
OKLCHoklch(59.2% 0.021 13.7)
XYZxyz(20.8312, 20.4836, 21.2650)
Luminance0.2048 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A797A #798A89
analogous
#8A7982 #8A797A #8A8079
triadic
#8A797A #7A8A79 #797A8A
tetradic
#8A797A #828A79 #798A89 #80798A
square
#8A797A #828A79 #798A89 #80798A
split-complementary
#8A797A #798A80 #79828A
monochromatic
#494040 #6A5C5D #8A797A #A79A9A #C3BABB

Accessibility & contrast

On white

4.12
#8A797A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#8A797A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A797A
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A797A#FFFFFF#000000##000000
##8A797A1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C7B7A
Deuteranopia (green-blind)
#7F7E7A
Tritanopia (blue-blind)
#8E7879
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a797a;
/* rgb */ color: rgb(138, 121, 122);
/* oklch */ color: oklch(59.2% 0.021 13.7);
Tailwind
colors: {
  custom: {
    50: '#ac9fa0',
    500: '#8a797a',
    950: '#000000',
  },
}
SCSS
$custom: #8a797a;
$custom-light: #ac9fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a797a",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 122
  },
  "hsl": {
    "h": 356.471,
    "s": 6.773,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59203,
    "c": 0.02108,
    "h": 13.7
  },
  "luminance": 0.20483
}

Semantic roles & 50–950 ramp

primary
#8A797A
secondary
#ACB3B3
accent
#B0AD78
background
#FAF9F9
surface
#F4F2F2
border
#CECCCC
text
#100E0E
muted
#7F7E7E

Preview Lab

Preview with #8A797A

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

Preview Lab → · Contrast checker → · Palette generator →

#8A797A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva