#8A7979#8A7979

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

Color values

HEX#8A7979
RGBrgb(138, 121, 121)
HSLhsl(0, 7%, 51%)
HSVhsv(0, 12%, 54%)
CMYKcmyk(0%, 12.3%, 12.3%, 45.9%)
CIE-LABlab(52.35, 6.54, 2.40)
CIE-LCHlch(52.35, 6.97, 20.19°)
OKLaboklab(59.17% 0.0201 0.0064)
OKLCHoklch(59.17% 0.021 17.8)
XYZxyz(20.7696, 20.4590, 20.9403)
Luminance0.2046 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7979 #798A8A
analogous
#8A7981 #8A7979 #8A8179
triadic
#8A7979 #798A79 #79798A
tetradic
#8A7979 #818A79 #798A8A #81798A
square
#8A7979 #818A79 #798A8A #81798A
split-complementary
#8A7979 #798A81 #79818A
monochromatic
#494040 #6A5C5C #8A7979 #A79A9A #C3BABA

Accessibility & contrast

On white

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

On black

5.09
#8A7979 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7979
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7979#FFFFFF#000000##000000
##8A79791.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C7B79
Deuteranopia (green-blind)
#807E79
Tritanopia (blue-blind)
#8E7879
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a7979;
/* rgb */ color: rgb(138, 121, 121);
/* oklch */ color: oklch(59.2% 0.021 17.8);
Tailwind
colors: {
  custom: {
    50: '#ac9f9f',
    500: '#8a7979',
    950: '#000000',
  },
}
SCSS
$custom: #8a7979;
$custom-light: #ac9f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7979",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 121
  },
  "hsl": {
    "h": 0,
    "s": 6.773,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59172,
    "c": 0.02107,
    "h": 17.8
  },
  "luminance": 0.20458
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A7979

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

Preview Lab → · Contrast checker → · Palette generator →

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