#8C7C8A#8C7C8A

#8C7C8A is a mid, muted grey. Relative luminance 0.218; OKLCH L 60.5% C 0.028 H 329.9°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#8C7C8A
RGBrgb(140, 124, 138)
HSLhsl(308, 7%, 52%)
HSVhsv(308, 11%, 55%)
CMYKcmyk(0%, 11.4%, 1.4%, 45.1%)
CIE-LABlab(53.84, 8.76, -5.33)
CIE-LCHlch(53.84, 10.26, 328.69°)
OKLaboklab(60.54% 0.0244 -0.0141)
OKLCHoklch(60.54% 0.028 329.9)
XYZxyz(22.6097, 21.8260, 27.0616)
Luminance0.2183 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C7C8A #7C8C7E
analogous
#867C8C #8C7C8A #8C7C82
triadic
#8C7C8A #8A8C7C #7C8A8C
tetradic
#8C7C8A #8C867C #7C8C7E #7C828C
square
#8C7C8A #8C867C #7C8C7E #7C828C
split-complementary
#8C7C8A #828C7C #7C8C86
monochromatic
#4B424A #6C5F6A #8C7C8A #A99DA7 #C5BDC4

Accessibility & contrast

On white

3.91
#8C7C8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#8C7C8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C7C8A
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C7C8A#FFFFFF#000000##000000
##8C7C8A1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C7F8B
Deuteranopia (green-blind)
#7F8189
Tritanopia (blue-blind)
#8D7D81
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8c7c8a;
/* rgb */ color: rgb(140, 124, 138);
/* oklch */ color: oklch(60.5% 0.028 329.9);
Tailwind
colors: {
  custom: {
    50: '#ada2ac',
    500: '#8c7c8a',
    950: '#000000',
  },
}
SCSS
$custom: #8c7c8a;
$custom-light: #ada2ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8c7c8a",
  "rgb": {
    "r": 140,
    "g": 124,
    "b": 138
  },
  "hsl": {
    "h": 307.5,
    "s": 6.504,
    "l": 51.765
  },
  "oklch": {
    "l": 0.60542,
    "c": 0.02824,
    "h": 329.9
  },
  "luminance": 0.21826
}

Semantic roles & 50–950 ramp

primary
#8C7C8A
secondary
#AEB5AF
accent
#B07F78
background
#FAF9FA
surface
#F4F2F4
border
#CECCCE
text
#100F10
muted
#7F7E7F

Preview Lab

Preview with #8C7C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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