#8A8790#8A8790

#8A8790 is a light, near-neutral grey. Relative luminance 0.247; OKLCH L 62.9% C 0.014 H 301.2°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#8A8790
RGBrgb(138, 135, 144)
HSLhsl(260, 4%, 55%)
HSVhsv(260, 6%, 56%)
CMYKcmyk(4.2%, 6.2%, 0%, 43.5%)
CIE-LABlab(56.83, 2.91, -4.41)
CIE-LCHlch(56.83, 5.28, 303.38°)
OKLaboklab(62.89% 0.0071 -0.0118)
OKLCHoklch(62.89% 0.014 301.2)
XYZxyz(24.1784, 24.7448, 29.8826)
Luminance0.2475 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8790 #8D9087
analogous
#878990 #8A8790 #8F8790
triadic
#8A8790 #908A87 #87908A
tetradic
#8A8790 #908789 #8D9087 #87908F
square
#8A8790 #908789 #8D9087 #87908F
split-complementary
#8A8790 #908F87 #899087
monochromatic
#4D4B51 #6B6971 #8A8790 #A9A7AD #C8C7CB

Accessibility & contrast

On white

3.53
#8A8790 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#8A8790 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8790
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8790#FFFFFF#000000##000000
##8A87901.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#868890
Deuteranopia (green-blind)
#868890
Tritanopia (blue-blind)
#89888A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a8790;
/* rgb */ color: rgb(138, 135, 144);
/* oklch */ color: oklch(62.9% 0.014 301.2);
Tailwind
colors: {
  custom: {
    50: '#aca9b0',
    500: '#8a8790',
    950: '#000000',
  },
}
SCSS
$custom: #8a8790;
$custom-light: #aca9b0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8790",
  "rgb": {
    "r": 138,
    "g": 135,
    "b": 144
  },
  "hsl": {
    "h": 260,
    "s": 3.896,
    "l": 54.706
  },
  "oklch": {
    "l": 0.62889,
    "c": 0.01374,
    "h": 301.2
  },
  "luminance": 0.24745
}

Semantic roles & 50–950 ramp

primary
#8A8790
secondary
#BABBB8
accent
#AD7B9C
background
#FAFAFA
surface
#F4F4F4
border
#CECECE
text
#101010
muted
#7F7F7F

Preview Lab

Preview with #8A8790

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

Preview Lab → · Contrast checker → · Palette generator →

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