#8A7A7A#8A7A7A

#8A7A7A is a mid, near-neutral grey. Relative luminance 0.207; OKLCH L 59.4% C 0.020 H 17.7°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#8A7A7A
RGBrgb(138, 122, 122)
HSLhsl(0, 6%, 51%)
HSVhsv(0, 12%, 54%)
CMYKcmyk(0%, 11.6%, 11.6%, 45.9%)
CIE-LABlab(52.65, 6.14, 2.25)
CIE-LCHlch(52.65, 6.54, 20.13°)
OKLaboklab(59.41% 0.0188 0.006)
OKLCHoklch(59.41% 0.02 17.7)
XYZxyz(20.9534, 20.7279, 21.3057)
Luminance0.2073 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7A7A #7A8A8A
analogous
#8A7A82 #8A7A7A #8A827A
triadic
#8A7A7A #7A8A7A #7A7A8A
tetradic
#8A7A7A #828A7A #7A8A8A #827A8A
square
#8A7A7A #828A7A #7A8A8A #827A8A
split-complementary
#8A7A7A #7A8A82 #7A828A
monochromatic
#494040 #6A5D5D #8A7A7A #A79B9B #C3BBBB

Accessibility & contrast

On white

4.08
#8A7A7A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#8A7A7A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7A7A
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7A7A#FFFFFF#000000##000000
##8A7A7A1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D7C7A
Deuteranopia (green-blind)
#807F7A
Tritanopia (blue-blind)
#8E797A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a7a7a;
/* rgb */ color: rgb(138, 122, 122);
/* oklch */ color: oklch(59.4% 0.020 17.7);
Tailwind
colors: {
  custom: {
    50: '#aca0a0',
    500: '#8a7a7a',
    950: '#000000',
  },
}
SCSS
$custom: #8a7a7a;
$custom-light: #aca0a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7a7a",
  "rgb": {
    "r": 138,
    "g": 122,
    "b": 122
  },
  "hsl": {
    "h": 0,
    "s": 6.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59414,
    "c": 0.01978,
    "h": 17.7
  },
  "luminance": 0.20727
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A7A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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