#8C7E8A#8C7E8A

#8C7E8A is a mid, muted grey. Relative luminance 0.223; OKLCH L 61.0% C 0.024 H 330.5°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#8C7E8A
RGBrgb(140, 126, 138)
HSLhsl(309, 6%, 52%)
HSVhsv(309, 10%, 55%)
CMYKcmyk(0%, 10%, 1.4%, 45.1%)
CIE-LABlab(54.38, 7.60, -4.54)
CIE-LCHlch(54.38, 8.85, 329.19°)
OKLaboklab(60.96% 0.0212 -0.012)
OKLCHoklch(60.96% 0.024 330.5)
XYZxyz(22.8629, 22.3324, 27.1460)
Luminance0.2233 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C7E8A #7E8C80
analogous
#877E8C #8C7E8A #8C7E83
triadic
#8C7E8A #8A8C7E #7E8A8C
tetradic
#8C7E8A #8C877E #7E8C80 #7E838C
square
#8C7E8A #8C877E #7E8C80 #7E838C
split-complementary
#8C7E8A #838C7E #7E8C87
monochromatic
#4C444B #6C616B #8C7E8A #A99EA7 #C6BFC5

Accessibility & contrast

On white

3.84
#8C7E8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#8C7E8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C7E8A
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C7E8A#FFFFFF#000000##000000
##8C7E8A1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E818B
Deuteranopia (green-blind)
#818389
Tritanopia (blue-blind)
#8D7F82
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8c7e8a;
/* rgb */ color: rgb(140, 126, 138);
/* oklch */ color: oklch(61.0% 0.024 330.5);
Tailwind
colors: {
  custom: {
    50: '#ada3ac',
    500: '#8c7e8a',
    950: '#000000',
  },
}
SCSS
$custom: #8c7e8a;
$custom-light: #ada3ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8c7e8a",
  "rgb": {
    "r": 140,
    "g": 126,
    "b": 138
  },
  "hsl": {
    "h": 308.571,
    "s": 5.738,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60959,
    "c": 0.02439,
    "h": 330.5
  },
  "luminance": 0.22332
}

Semantic roles & 50–950 ramp

primary
#8C7E8A
secondary
#B0B6B1
accent
#AF8179
background
#FAFAFA
surface
#F4F3F4
border
#CECDCE
text
#100F10
muted
#7F7F7F

Preview Lab

Preview with #8C7E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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