#8A868C#8A868C

#8A868C is a light, near-neutral grey. Relative luminance 0.243; OKLCH L 62.5% C 0.010 H 314.8°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#8A868C
RGBrgb(138, 134, 140)
HSLhsl(280, 3%, 54%)
HSVhsv(280, 4%, 55%)
CMYKcmyk(1.4%, 4.3%, 0%, 45.1%)
CIE-LABlab(56.43, 2.67, -2.68)
CIE-LCHlch(56.43, 3.78, 314.84°)
OKLaboklab(62.54% 0.0071 -0.0071)
OKLCHoklch(62.54% 0.01 314.8)
XYZxyz(23.7392, 24.3470, 28.2547)
Luminance0.2435 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A868C #888C86
analogous
#87868C #8A868C #8C868B
triadic
#8A868C #8C8A86 #868C8A
tetradic
#8A868C #8C8786 #888C86 #868B8C
square
#8A868C #8C8786 #888C86 #868B8C
split-complementary
#8A868C #8B8C86 #868C87
monochromatic
#4C4A4E #6B686D #8A868C #A8A5AA #C7C5C8

Accessibility & contrast

On white

3.58
#8A868C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#8A868C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A868C
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A868C#FFFFFF#000000##000000
##8A868C1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#85878C
Deuteranopia (green-blind)
#86878C
Tritanopia (blue-blind)
#8A8788
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a868c;
/* rgb */ color: rgb(138, 134, 140);
/* oklch */ color: oklch(62.5% 0.010 314.8);
Tailwind
colors: {
  custom: {
    50: '#aca9ad',
    500: '#8a868c',
    950: '#000000',
  },
}
SCSS
$custom: #8a868c;
$custom-light: #aca9ad;
$custom-dark: #000000;
JSON
{
  "hex": "#8a868c",
  "rgb": {
    "r": 138,
    "g": 134,
    "b": 140
  },
  "hsl": {
    "h": 280,
    "s": 2.542,
    "l": 53.725
  },
  "oklch": {
    "l": 0.62542,
    "c": 0.01001,
    "h": 314.8
  },
  "luminance": 0.24347
}

Semantic roles & 50–950 ramp

primary
#8A868C
secondary
#B6B8B6
accent
#AC7C8C
background
#FAFAFA
surface
#F4F4F4
border
#CECECE
text
#100F10
muted
#7F7F7F

Preview Lab

Preview with #8A868C

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

Preview Lab → · Contrast checker → · Palette generator →

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