#8D7C8A#8D7C8A

#8D7C8A is a mid, muted grey. Relative luminance 0.219; OKLCH L 60.6% C 0.029 H 331.8°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#8D7C8A
RGBrgb(141, 124, 138)
HSLhsl(311, 7%, 52%)
HSVhsv(311, 12%, 55%)
CMYKcmyk(0%, 12.1%, 2.1%, 44.7%)
CIE-LABlab(53.93, 9.13, -5.18)
CIE-LCHlch(53.93, 10.50, 330.44°)
OKLaboklab(60.64% 0.0256 -0.0137)
OKLCHoklch(60.64% 0.029 331.8)
XYZxyz(22.7790, 21.9133, 27.0695)
Luminance0.2191 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7C8A #7C8D7F
analogous
#887C8D #8D7C8A #8D7C82
triadic
#8D7C8A #8A8D7C #7C8A8D
tetradic
#8D7C8A #8D887C #7C8D7F #7C828D
square
#8D7C8A #8D887C #7C8D7F #7C828D
split-complementary
#8D7C8A #828D7C #7C8D88
monochromatic
#4C424B #6D5F6A #8D7C8A #A99DA7 #C6BDC4

Accessibility & contrast

On white

3.90
#8D7C8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#8D7C8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7C8A
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7C8A#FFFFFF#000000##000000
##8D7C8A1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C808B
Deuteranopia (green-blind)
#7F8289
Tritanopia (blue-blind)
#8F7D81
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8d7c8a;
/* rgb */ color: rgb(141, 124, 138);
/* oklch */ color: oklch(60.6% 0.029 331.8);
Tailwind
colors: {
  custom: {
    50: '#aea2ac',
    500: '#8d7c8a',
    950: '#000000',
  },
}
SCSS
$custom: #8d7c8a;
$custom-light: #aea2ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7c8a",
  "rgb": {
    "r": 141,
    "g": 124,
    "b": 138
  },
  "hsl": {
    "h": 310.588,
    "s": 6.939,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60636,
    "c": 0.02907,
    "h": 331.8
  },
  "luminance": 0.21913
}

Semantic roles & 50–950 ramp

primary
#8D7C8A
secondary
#AFB6B0
accent
#B08278
background
#FAF9FA
surface
#F4F2F4
border
#CECCCE
text
#100F10
muted
#7F7E7F

Preview Lab

Preview with #8D7C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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