#8E8080#8E8080

#8E8080 is a mid, near-neutral grey. Relative luminance 0.227; OKLCH L 61.2% C 0.017 H 17.6°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#8E8080
RGBrgb(142, 128, 128)
HSLhsl(0, 6%, 53%)
HSVhsv(0, 10%, 56%)
CMYKcmyk(0%, 9.9%, 9.9%, 44.3%)
CIE-LABlab(54.81, 5.31, 1.94)
CIE-LCHlch(54.81, 5.66, 20.01°)
OKLaboklab(61.25% 0.0163 0.0052)
OKLCHoklch(61.25% 0.017 17.6)
XYZxyz(22.7704, 22.7480, 23.6092)
Luminance0.2275 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8080 #808E8E
analogous
#8E8087 #8E8080 #8E8780
triadic
#8E8080 #808E80 #80808E
tetradic
#8E8080 #878E80 #808E8E #87808E
square
#8E8080 #878E80 #808E8E #87808E
split-complementary
#8E8080 #808E87 #80878E
monochromatic
#4E4545 #6E6262 #8E8080 #ABA0A0 #C8C1C1

Accessibility & contrast

On white

3.78
#8E8080 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#8E8080 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8080
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8080#FFFFFF#000000##000000
##8E80801.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#828280
Deuteranopia (green-blind)
#858480
Tritanopia (blue-blind)
#917F80
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8e8080;
/* rgb */ color: rgb(142, 128, 128);
/* oklch */ color: oklch(61.2% 0.017 17.6);
Tailwind
colors: {
  custom: {
    50: '#afa4a4',
    500: '#8e8080',
    950: '#000000',
  },
}
SCSS
$custom: #8e8080;
$custom-light: #afa4a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8080",
  "rgb": {
    "r": 142,
    "g": 128,
    "b": 128
  },
  "hsl": {
    "h": 0,
    "s": 5.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.61246,
    "c": 0.01712,
    "h": 17.6
  },
  "luminance": 0.22748
}

Semantic roles & 50–950 ramp

primary
#8E8080
secondary
#B2B8B8
accent
#AFAF79
background
#FAFAFA
surface
#F4F4F4
border
#CECECE
text
#100F0F
muted
#7F7F7F

Preview Lab

Preview with #8E8080

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

Preview Lab → · Contrast checker → · Palette generator →

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