#8A7A8A#8A7A8A

#8A7A8A is a mid, muted grey. Relative luminance 0.212; OKLCH L 59.9% C 0.031 H 325.9°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#8A7A8A
RGBrgb(138, 122, 138)
HSLhsl(300, 6%, 51%)
HSVhsv(300, 12%, 54%)
CMYKcmyk(0%, 11.6%, 0%, 45.9%)
CIE-LABlab(53.12, 9.19, -6.42)
CIE-LCHlch(53.12, 11.21, 325.06°)
OKLaboklab(59.94% 0.0253 -0.0171)
OKLCHoklch(59.94% 0.031 325.9)
XYZxyz(22.0276, 21.1576, 26.9632)
Luminance0.2116 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7A8A #7A8A7A
analogous
#827A8A #8A7A8A #8A7A82
triadic
#8A7A8A #8A8A7A #7A8A8A
tetradic
#8A7A8A #8A827A #7A8A7A #7A828A
square
#8A7A8A #8A827A #7A8A7A #7A828A
split-complementary
#8A7A8A #828A7A #7A8A82
monochromatic
#494049 #6A5D6A #8A7A8A #A79BA7 #C3BBC3

Accessibility & contrast

On white

4.01
#8A7A8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#8A7A8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7A8A
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7A8A#FFFFFF#000000##000000
##8A7A8A1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#797E8B
Deuteranopia (green-blind)
#7C8089
Tritanopia (blue-blind)
#8B7B7F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a7a8a;
/* rgb */ color: rgb(138, 122, 138);
/* oklch */ color: oklch(59.9% 0.031 325.9);
Tailwind
colors: {
  custom: {
    50: '#aca0ac',
    500: '#8a7a8a',
    950: '#000000',
  },
}
SCSS
$custom: #8a7a8a;
$custom-light: #aca0ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7a8a",
  "rgb": {
    "r": 138,
    "g": 122,
    "b": 138
  },
  "hsl": {
    "h": 300,
    "s": 6.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59937,
    "c": 0.03051,
    "h": 325.9
  },
  "luminance": 0.21157
}

Semantic roles & 50–950 ramp

primary
#8A7A8A
secondary
#ACB3AC
accent
#AF7878
background
#FAF9FA
surface
#F4F2F4
border
#CECCCE
text
#100E10
muted
#7F7E7F

Preview Lab

Preview with #8A7A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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