#8E807E#8E807E

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

Color values

HEX#8E807E
RGBrgb(142, 128, 126)
HSLhsl(8, 7%, 53%)
HSVhsv(8, 11%, 56%)
CMYKcmyk(0%, 9.9%, 11.3%, 44.3%)
CIE-LABlab(54.76, 4.95, 3.02)
CIE-LCHlch(54.76, 5.80, 31.35°)
OKLaboklab(61.19% 0.0155 0.008)
OKLCHoklch(61.19% 0.017 27.4)
XYZxyz(22.6401, 22.6959, 22.9227)
Luminance0.2270 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E807E #7E8C8E
analogous
#8E7E84 #8E807E #8E887E
triadic
#8E807E #7E8E80 #807E8E
tetradic
#8E807E #848E7E #7E8C8E #887E8E
square
#8E807E #848E7E #7E8C8E #887E8E
split-complementary
#8E807E #7E8E88 #7E848E
monochromatic
#4E4544 #6E6261 #8E807E #ABA09F #C7C0BF

Accessibility & contrast

On white

3.79
#8E807E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#8E807E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E807E
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E807E#FFFFFF#000000##000000
##8E807E1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#83827E
Deuteranopia (green-blind)
#86847E
Tritanopia (blue-blind)
#927F7F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8e807e;
/* rgb */ color: rgb(142, 128, 126);
/* oklch */ color: oklch(61.2% 0.017 27.4);
Tailwind
colors: {
  custom: {
    50: '#afa4a3',
    500: '#8e807e',
    950: '#000000',
  },
}
SCSS
$custom: #8e807e;
$custom-light: #afa4a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e807e",
  "rgb": {
    "r": 142,
    "g": 128,
    "b": 126
  },
  "hsl": {
    "h": 7.5,
    "s": 6.612,
    "l": 52.549
  },
  "oklch": {
    "l": 0.61186,
    "c": 0.01743,
    "h": 27.4
  },
  "luminance": 0.22695
}

Semantic roles & 50–950 ramp

primary
#8E807E
secondary
#B0B7B7
accent
#A9B078
background
#FAFAFA
surface
#F4F4F3
border
#CECECD
text
#100F0F
muted
#7F7F7F

Preview Lab

Preview with #8E807E

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

Preview Lab → · Contrast checker → · Palette generator →

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