#8A7C86#8A7C86

#8A7C86 is a mid, muted grey. Relative luminance 0.215; OKLCH L 60.2% C 0.022 H 335.9°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#8A7C86
RGBrgb(138, 124, 134)
HSLhsl(317, 6%, 51%)
HSVhsv(317, 10%, 54%)
CMYKcmyk(0%, 10.1%, 2.9%, 45.9%)
CIE-LABlab(53.54, 7.23, -3.47)
CIE-LCHlch(53.54, 8.02, 334.38°)
OKLaboklab(60.22% 0.0205 -0.0091)
OKLCHoklch(60.22% 0.022 335.9)
XYZxyz(21.9914, 21.5401, 25.5488)
Luminance0.2154 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7C86 #7C8A80
analogous
#877C8A #8A7C86 #8A7C7F
triadic
#8A7C86 #868A7C #7C868A
tetradic
#8A7C86 #8A877C #7C8A80 #7C7F8A
square
#8A7C86 #8A877C #7C8A80 #7C7F8A
split-complementary
#8A7C86 #7F8A7C #7C8A87
monochromatic
#4A4247 #6A5F67 #8A7C86 #A79CA4 #C4BDC2

Accessibility & contrast

On white

3.96
#8A7C86 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#8A7C86 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7C86
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7C86#FFFFFF#000000##000000
##8A7C861.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C7F86
Deuteranopia (green-blind)
#7F8186
Tritanopia (blue-blind)
#8C7C7F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a7c86;
/* rgb */ color: rgb(138, 124, 134);
/* oklch */ color: oklch(60.2% 0.022 335.9);
Tailwind
colors: {
  custom: {
    50: '#aca1a9',
    500: '#8a7c86',
    950: '#000000',
  },
}
SCSS
$custom: #8a7c86;
$custom-light: #aca1a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7c86",
  "rgb": {
    "r": 138,
    "g": 124,
    "b": 134
  },
  "hsl": {
    "h": 317.143,
    "s": 5.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.60219,
    "c": 0.02245,
    "h": 335.9
  },
  "luminance": 0.2154
}

Semantic roles & 50–950 ramp

primary
#8A7C86
secondary
#AEB4B0
accent
#AF8879
background
#FAF9FA
surface
#F4F2F4
border
#CECCCE
text
#100F0F
muted
#7F7E7F

Preview Lab

Preview with #8A7C86

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

Preview Lab → · Contrast checker → · Palette generator →

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