#8A8A98#8A8A98

#8A8A98 is a light, muted grey. Relative luminance 0.258; OKLCH L 63.8% C 0.021 H 285.8°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#8A8A98
RGBrgb(138, 138, 152)
HSLhsl(240, 6%, 57%)
HSVhsv(240, 9%, 60%)
CMYKcmyk(9.2%, 9.2%, 0%, 40.4%)
CIE-LABlab(57.89, 2.87, -7.43)
CIE-LCHlch(57.89, 7.96, 291.10°)
OKLaboklab(63.81% 0.0056 -0.02)
OKLCHoklch(63.81% 0.021 285.8)
XYZxyz(25.2361, 25.8471, 33.3591)
Luminance0.2585 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8A98 #98988A
analogous
#8A9198 #8A8A98 #918A98
triadic
#8A8A98 #988A8A #8A988A
tetradic
#8A8A98 #988A91 #98988A #8A9891
square
#8A8A98 #988A91 #98988A #8A9891
split-complementary
#8A8A98 #98918A #91988A
monochromatic
#4E4E59 #6B6B7A #8A8A98 #ABABB5 #CBCBD1

Accessibility & contrast

On white

3.40
#8A8A98 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#8A8A98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8A98
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8A98#FFFFFF#000000##000000
##8A8A981.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a8a98;
/* rgb */ color: rgb(138, 138, 152);
/* oklch */ color: oklch(63.8% 0.021 285.8);
Tailwind
colors: {
  custom: {
    50: '#acacb6',
    500: '#8a8a98',
    950: '#000000',
  },
}
SCSS
$custom: #8a8a98;
$custom-light: #acacb6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8a98",
  "rgb": {
    "r": 138,
    "g": 138,
    "b": 152
  },
  "hsl": {
    "h": 240,
    "s": 6.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.63805,
    "c": 0.02074,
    "h": 285.8
  },
  "luminance": 0.25847
}

Semantic roles & 50–950 ramp

primary
#8A8A98
secondary
#C2C2BC
accent
#AF78AF
background
#FAFAFB
surface
#F4F4F6
border
#CECED0
text
#101011
muted
#7F7F80

Preview Lab

Preview with #8A8A98

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

Preview Lab → · Contrast checker → · Palette generator →

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