#8A7C7A#8A7C7A

#8A7C7A is a mid, near-neutral grey. Relative luminance 0.212; OKLCH L 59.8% C 0.018 H 27.4°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#8A7C7A
RGBrgb(138, 124, 122)
HSLhsl(8, 6%, 51%)
HSVhsv(8, 12%, 54%)
CMYKcmyk(0%, 10.1%, 11.6%, 45.9%)
CIE-LABlab(53.19, 4.99, 3.04)
CIE-LCHlch(53.19, 5.84, 31.36°)
OKLaboklab(59.84% 0.0156 0.0081)
OKLCHoklch(59.84% 0.018 27.4)
XYZxyz(21.2015, 21.2241, 21.3884)
Luminance0.2122 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7C7A #7A888A
analogous
#8A7A80 #8A7C7A #8A847A
triadic
#8A7C7A #7A8A7C #7C7A8A
tetradic
#8A7C7A #808A7A #7A888A #847A8A
square
#8A7C7A #808A7A #7A888A #847A8A
split-complementary
#8A7C7A #7A8A84 #7A808A
monochromatic
#494140 #6A5F5D #8A7C7A #A79C9B #C3BCBB

Accessibility & contrast

On white

4.00
#8A7C7A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#8A7C7A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7C7A
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7C7A#FFFFFF#000000##000000
##8A7C7A1.004.005.245.24
#FFFFFF4.001.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F7E7A
Deuteranopia (green-blind)
#82807A
Tritanopia (blue-blind)
#8E7B7B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a7c7a;
/* rgb */ color: rgb(138, 124, 122);
/* oklch */ color: oklch(59.8% 0.018 27.4);
Tailwind
colors: {
  custom: {
    50: '#aca1a0',
    500: '#8a7c7a',
    950: '#000000',
  },
}
SCSS
$custom: #8a7c7a;
$custom-light: #aca1a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7c7a",
  "rgb": {
    "r": 138,
    "g": 124,
    "b": 122
  },
  "hsl": {
    "h": 7.5,
    "s": 6.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59839,
    "c": 0.01754,
    "h": 27.4
  },
  "luminance": 0.21224
}

Semantic roles & 50–950 ramp

primary
#8A7C7A
secondary
#ACB3B3
accent
#A9AF78
background
#FAF9F9
surface
#F4F2F2
border
#CECCCC
text
#100F0E
muted
#7F7E7E

Preview Lab

Preview with #8A7C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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