#8A8285#8A8285

#8A8285 is a mid, near-neutral grey. Relative luminance 0.231; OKLCH L 61.5% C 0.011 H 352.6°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#8A8285
RGBrgb(138, 130, 133)
HSLhsl(338, 3%, 53%)
HSVhsv(338, 6%, 54%)
CMYKcmyk(0%, 5.8%, 3.6%, 45.9%)
CIE-LABlab(55.14, 3.58, -0.54)
CIE-LCHlch(55.14, 3.62, 351.49°)
OKLaboklab(61.46% 0.0105 -0.0014)
OKLCHoklch(61.46% 0.011 352.6)
XYZxyz(22.6969, 23.0622, 25.4415)
Luminance0.2306 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8285 #828A87
analogous
#8A8289 #8A8285 #8A8382
triadic
#8A8285 #858A82 #82858A
tetradic
#8A8285 #898A82 #828A87 #83828A
square
#8A8285 #898A82 #828A87 #83828A
split-complementary
#8A8285 #828A83 #82898A
monochromatic
#4B4648 #6B6467 #8A8285 #A8A2A4 #C5C1C3

Accessibility & contrast

On white

3.74
#8A8285 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#8A8285 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8285
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8285#FFFFFF#000000##000000
##8A82851.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#838385
Deuteranopia (green-blind)
#848485
Tritanopia (blue-blind)
#8B8283
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a8285;
/* rgb */ color: rgb(138, 130, 133);
/* oklch */ color: oklch(61.5% 0.011 352.6);
Tailwind
colors: {
  custom: {
    50: '#aca6a8',
    500: '#8a8285',
    950: '#000000',
  },
}
SCSS
$custom: #8a8285;
$custom-light: #aca6a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8285",
  "rgb": {
    "r": 138,
    "g": 130,
    "b": 133
  },
  "hsl": {
    "h": 337.5,
    "s": 3.306,
    "l": 52.549
  },
  "oklch": {
    "l": 0.6146,
    "c": 0.01059,
    "h": 352.6
  },
  "luminance": 0.23062
}

Semantic roles & 50–950 ramp

primary
#8A8285
secondary
#B2B6B4
accent
#AD9A7B
background
#FAFAFA
surface
#F4F4F4
border
#CECECE
text
#100F0F
muted
#7F7F7F

Preview Lab

Preview with #8A8285

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

Preview Lab → · Contrast checker → · Palette generator →

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