#8A7A80#8A7A80

#8A7A80 is a mid, muted grey. Relative luminance 0.209; OKLCH L 59.6% C 0.021 H 353.1°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#8A7A80
RGBrgb(138, 122, 128)
HSLhsl(338, 6%, 51%)
HSVhsv(338, 12%, 54%)
CMYKcmyk(0%, 11.6%, 7.2%, 45.9%)
CIE-LABlab(52.82, 7.24, -1.01)
CIE-LCHlch(52.82, 7.31, 352.03°)
OKLaboklab(59.6% 0.0213 -0.0026)
OKLCHoklch(59.6% 0.021 353.1)
XYZxyz(21.3367, 20.8812, 23.3244)
Luminance0.2088 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7A80 #7A8A84
analogous
#8A7A88 #8A7A80 #8A7C7A
triadic
#8A7A80 #808A7A #7A808A
tetradic
#8A7A80 #888A7A #7A8A84 #7C7A8A
square
#8A7A80 #888A7A #7A8A84 #7C7A8A
split-complementary
#8A7A80 #7A8A7C #7A888A
monochromatic
#494044 #6A5D62 #8A7A80 #A79B9F #C3BBBE

Accessibility & contrast

On white

4.06
#8A7A80 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#8A7A80 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7A80
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7A80#FFFFFF#000000##000000
##8A7A801.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B7D80
Deuteranopia (green-blind)
#7F7F80
Tritanopia (blue-blind)
#8D7A7C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a7a80;
/* rgb */ color: rgb(138, 122, 128);
/* oklch */ color: oklch(59.6% 0.021 353.1);
Tailwind
colors: {
  custom: {
    50: '#aca0a4',
    500: '#8a7a80',
    950: '#000000',
  },
}
SCSS
$custom: #8a7a80;
$custom-light: #aca0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7a80",
  "rgb": {
    "r": 138,
    "g": 122,
    "b": 128
  },
  "hsl": {
    "h": 337.5,
    "s": 6.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59602,
    "c": 0.02148,
    "h": 353.1
  },
  "luminance": 0.20881
}

Semantic roles & 50–950 ramp

primary
#8A7A80
secondary
#ACB3B1
accent
#AF9B78
background
#FAF9FA
surface
#F4F2F4
border
#CECCCE
text
#100E0F
muted
#7F7E7F

Preview Lab

Preview with #8A7A80

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

Preview Lab → · Contrast checker → · Palette generator →

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