#8E8A94#8E8A94

#8E8A94 is a light, near-neutral grey. Relative luminance 0.261; OKLCH L 64.0% C 0.015 H 304.0°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#8E8A94
RGBrgb(142, 138, 148)
HSLhsl(264, 4%, 56%)
HSVhsv(264, 7%, 58%)
CMYKcmyk(4.1%, 6.8%, 0%, 42%)
CIE-LABlab(58.10, 3.46, -4.79)
CIE-LCHlch(58.10, 5.91, 305.83°)
OKLaboklab(64.01% 0.0086 -0.0128)
OKLCHoklch(64.01% 0.015 304)
XYZxyz(25.5882, 26.0659, 31.6944)
Luminance0.2607 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8A94 #90948A
analogous
#8A8B94 #8E8A94 #938A94
triadic
#8E8A94 #948E8A #8A948E
tetradic
#8E8A94 #948A8B #90948A #8A9493
square
#8E8A94 #948A8B #90948A #8A9493
split-complementary
#8E8A94 #94938A #8B948A
monochromatic
#514E55 #6F6B75 #8E8A94 #ADAAB1 #CCCACE

Accessibility & contrast

On white

3.38
#8E8A94 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#8E8A94 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8A94
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8A94#FFFFFF#000000##000000
##8E8A941.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#888B94
Deuteranopia (green-blind)
#898C94
Tritanopia (blue-blind)
#8D8B8D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8e8a94;
/* rgb */ color: rgb(142, 138, 148);
/* oklch */ color: oklch(64.0% 0.015 304.0);
Tailwind
colors: {
  custom: {
    50: '#afacb3',
    500: '#8e8a94',
    950: '#000000',
  },
}
SCSS
$custom: #8e8a94;
$custom-light: #afacb3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8a94",
  "rgb": {
    "r": 142,
    "g": 138,
    "b": 148
  },
  "hsl": {
    "h": 264,
    "s": 4.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.64008,
    "c": 0.01541,
    "h": 304
  },
  "luminance": 0.26066
}

Semantic roles & 50–950 ramp

primary
#8E8A94
secondary
#BDBFBB
accent
#AE7A99
background
#FAFAFB
surface
#F4F4F6
border
#CECED0
text
#101011
muted
#7F7F80

Preview Lab

Preview with #8E8A94

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

Preview Lab → · Contrast checker → · Palette generator →

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