#8C8A98#8C8A98

#8C8A98 is a light, muted grey. Relative luminance 0.260; OKLCH L 64.0% C 0.021 H 292.4°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#8C8A98
RGBrgb(140, 138, 152)
HSLhsl(249, 6%, 57%)
HSVhsv(249, 9%, 60%)
CMYKcmyk(7.9%, 9.2%, 0%, 40.4%)
CIE-LABlab(58.06, 3.57, -7.17)
CIE-LCHlch(58.06, 8.01, 296.49°)
OKLaboklab(63.97% 0.0079 -0.0192)
OKLCHoklch(63.97% 0.021 292.4)
XYZxyz(25.5701, 26.0193, 33.3748)
Luminance0.2602 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8A98 #96988A
analogous
#8A8F98 #8C8A98 #938A98
triadic
#8C8A98 #988C8A #8A988C
tetradic
#8C8A98 #988A8F #96988A #8A9893
square
#8C8A98 #988A8F #96988A #8A9893
split-complementary
#8C8A98 #98938A #8F988A
monochromatic
#504E59 #6D6B7A #8C8A98 #ACABB5 #CCCBD1

Accessibility & contrast

On white

3.39
#8C8A98 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#8C8A98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8A98
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8A98#FFFFFF#000000##000000
##8C8A981.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#878C99
Deuteranopia (green-blind)
#878B98
Tritanopia (blue-blind)
#8A8C8E
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8c8a98;
/* rgb */ color: rgb(140, 138, 152);
/* oklch */ color: oklch(64.0% 0.021 292.4);
Tailwind
colors: {
  custom: {
    50: '#adacb6',
    500: '#8c8a98',
    950: '#000000',
  },
}
SCSS
$custom: #8c8a98;
$custom-light: #adacb6;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8a98",
  "rgb": {
    "r": 140,
    "g": 138,
    "b": 152
  },
  "hsl": {
    "h": 248.571,
    "s": 6.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.63973,
    "c": 0.02079,
    "h": 292.4
  },
  "luminance": 0.26019
}

Semantic roles & 50–950 ramp

primary
#8C8A98
secondary
#C1C2BC
accent
#AF78A8
background
#FAFAFB
surface
#F4F4F6
border
#CECED0
text
#101011
muted
#7F7F80

Preview Lab

Preview with #8C8A98

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

Preview Lab → · Contrast checker → · Palette generator →

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