#8A797D#8A797D

#8A797D is a mid, muted grey. Relative luminance 0.206; OKLCH L 59.3% C 0.022 H 1.8°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#8A797D
RGBrgb(138, 121, 125)
HSLhsl(346, 7%, 51%)
HSVhsv(346, 12%, 54%)
CMYKcmyk(0%, 12.3%, 9.4%, 45.9%)
CIE-LABlab(52.46, 7.27, 0.22)
CIE-LCHlch(52.46, 7.27, 1.75°)
OKLaboklab(59.3% 0.0217 0.0007)
OKLCHoklch(59.3% 0.022 1.8)
XYZxyz(21.0200, 20.5591, 22.2591)
Luminance0.2056 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A797D #798A86
analogous
#8A7985 #8A797D #8A7D79
triadic
#8A797D #7D8A79 #797D8A
tetradic
#8A797D #858A79 #798A86 #7D798A
square
#8A797D #858A79 #798A86 #7D798A
split-complementary
#8A797D #798A7D #79858A
monochromatic
#494042 #6A5C5F #8A797D #A79A9D #C3BABC

Accessibility & contrast

On white

4.11
#8A797D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#8A797D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A797D
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A797D#FFFFFF#000000##000000
##8A797D1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B7B7D
Deuteranopia (green-blind)
#7F7E7D
Tritanopia (blue-blind)
#8D787A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a797d;
/* rgb */ color: rgb(138, 121, 125);
/* oklch */ color: oklch(59.3% 0.022 1.8);
Tailwind
colors: {
  custom: {
    50: '#ac9fa2',
    500: '#8a797d',
    950: '#000000',
  },
}
SCSS
$custom: #8a797d;
$custom-light: #ac9fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a797d",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 125
  },
  "hsl": {
    "h": 345.882,
    "s": 6.773,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59296,
    "c": 0.02173,
    "h": 1.8
  },
  "luminance": 0.20559
}

Semantic roles & 50–950 ramp

primary
#8A797D
secondary
#ACB3B1
accent
#B0A378
background
#FAF9F9
surface
#F4F2F2
border
#CECCCC
text
#100E0F
muted
#7F7E7E

Preview Lab

Preview with #8A797D

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

Preview Lab → · Contrast checker → · Palette generator →

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