#8A8086#8A8086

#8A8086 is a mid, near-neutral grey. Relative luminance 0.226; OKLCH L 61.1% C 0.015 H 340.8°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#8A8086
RGBrgb(138, 128, 134)
HSLhsl(324, 4%, 52%)
HSVhsv(324, 7%, 54%)
CMYKcmyk(0%, 7.2%, 2.9%, 45.9%)
CIE-LABlab(54.62, 4.92, -1.87)
CIE-LCHlch(54.62, 5.27, 339.16°)
OKLaboklab(61.07% 0.0141 -0.0049)
OKLCHoklch(61.07% 0.015 340.8)
XYZxyz(22.5029, 22.5631, 25.7193)
Luminance0.2256 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8086 #808A84
analogous
#89808A #8A8086 #8A8081
triadic
#8A8086 #868A80 #80868A
tetradic
#8A8086 #8A8980 #808A84 #80818A
square
#8A8086 #8A8980 #808A84 #80818A
split-complementary
#8A8086 #818A80 #808A89
monochromatic
#4B4548 #6B6267 #8A8086 #A7A0A4 #C5C0C3

Accessibility & contrast

On white

3.81
#8A8086 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#8A8086 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8086
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8086#FFFFFF#000000##000000
##8A80861.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#808286
Deuteranopia (green-blind)
#828386
Tritanopia (blue-blind)
#8B8082
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a8086;
/* rgb */ color: rgb(138, 128, 134);
/* oklch */ color: oklch(61.1% 0.015 340.8);
Tailwind
colors: {
  custom: {
    50: '#aca4a9',
    500: '#8a8086',
    950: '#000000',
  },
}
SCSS
$custom: #8a8086;
$custom-light: #aca4a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8086",
  "rgb": {
    "r": 138,
    "g": 128,
    "b": 134
  },
  "hsl": {
    "h": 324,
    "s": 4.098,
    "l": 52.157
  },
  "oklch": {
    "l": 0.61065,
    "c": 0.01492,
    "h": 340.8
  },
  "luminance": 0.22563
}

Semantic roles & 50–950 ramp

primary
#8A8086
secondary
#B1B5B2
accent
#AD8F7B
background
#FAFAFA
surface
#F4F4F4
border
#CECECE
text
#100F0F
muted
#7F7F7F

Preview Lab

Preview with #8A8086

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

Preview Lab → · Contrast checker → · Palette generator →

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