#8E8086#8E8086

#8E8086 is a mid, near-neutral grey. Relative luminance 0.229; OKLCH L 61.4% C 0.019 H 349.9°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#8E8086
RGBrgb(142, 128, 134)
HSLhsl(334, 6%, 53%)
HSVhsv(334, 10%, 56%)
CMYKcmyk(0%, 9.9%, 5.6%, 44.3%)
CIE-LABlab(54.98, 6.43, -1.30)
CIE-LCHlch(54.98, 6.56, 348.54°)
OKLaboklab(61.43% 0.0188 -0.0034)
OKLCHoklch(61.43% 0.019 349.9)
XYZxyz(23.1771, 22.9107, 25.7509)
Luminance0.2291 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8086 #808E88
analogous
#8E808D #8E8086 #8E8180
triadic
#8E8086 #868E80 #80868E
tetradic
#8E8086 #8D8E80 #808E88 #81808E
square
#8E8086 #8D8E80 #808E88 #81808E
split-complementary
#8E8086 #808E81 #808D8E
monochromatic
#4E4549 #6E6268 #8E8086 #ABA0A5 #C8C1C4

Accessibility & contrast

On white

3.76
#8E8086 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#8E8086 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8086
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8086#FFFFFF#000000##000000
##8E80861.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#818286
Deuteranopia (green-blind)
#848486
Tritanopia (blue-blind)
#908082
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8e8086;
/* rgb */ color: rgb(142, 128, 134);
/* oklch */ color: oklch(61.4% 0.019 349.9);
Tailwind
colors: {
  custom: {
    50: '#afa4a9',
    500: '#8e8086',
    950: '#000000',
  },
}
SCSS
$custom: #8e8086;
$custom-light: #afa4a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8086",
  "rgb": {
    "r": 142,
    "g": 128,
    "b": 134
  },
  "hsl": {
    "h": 334.286,
    "s": 5.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.61433,
    "c": 0.01908,
    "h": 349.9
  },
  "luminance": 0.2291
}

Semantic roles & 50–950 ramp

primary
#8E8086
secondary
#B2B8B5
accent
#AF9879
background
#FAFAFA
surface
#F4F4F4
border
#CECECE
text
#100F0F
muted
#7F7F7F

Preview Lab

Preview with #8E8086

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

Preview Lab → · Contrast checker → · Palette generator →

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