#87828A#87828A

#87828A is a mid, near-neutral grey. Relative luminance 0.230; OKLCH L 61.4% C 0.013 H 313.2°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#87828A
RGBrgb(135, 130, 138)
HSLhsl(278, 3%, 53%)
HSVhsv(278, 6%, 54%)
CMYKcmyk(2.2%, 5.8%, 0%, 45.9%)
CIE-LABlab(55.02, 3.45, -3.63)
CIE-LCHlch(55.02, 5.01, 313.54°)
OKLaboklab(61.36% 0.0091 -0.0097)
OKLCHoklch(61.36% 0.013 313.2)
XYZxyz(22.5610, 22.9512, 27.2813)
Luminance0.2295 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87828A #858A82
analogous
#83828A #87828A #8A8289
triadic
#87828A #8A8782 #828A87
tetradic
#87828A #8A8382 #858A82 #82898A
square
#87828A #8A8382 #858A82 #82898A
split-complementary
#87828A #898A82 #828A83
monochromatic
#49464B #68646B #87828A #A5A2A8 #C4C1C5

Accessibility & contrast

On white

3.76
#87828A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#87828A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87828A
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87828A#FFFFFF#000000##000000
##87828A1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#81838A
Deuteranopia (green-blind)
#82848A
Tritanopia (blue-blind)
#878385
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #87828a;
/* rgb */ color: rgb(135, 130, 138);
/* oklch */ color: oklch(61.4% 0.013 313.2);
Tailwind
colors: {
  custom: {
    50: '#aaa6ac',
    500: '#87828a',
    950: '#000000',
  },
}
SCSS
$custom: #87828a;
$custom-light: #aaa6ac;
$custom-dark: #000000;
JSON
{
  "hex": "#87828a",
  "rgb": {
    "r": 135,
    "g": 130,
    "b": 138
  },
  "hsl": {
    "h": 277.5,
    "s": 3.306,
    "l": 52.549
  },
  "oklch": {
    "l": 0.61355,
    "c": 0.01324,
    "h": 313.2
  },
  "luminance": 0.22951
}

Semantic roles & 50–950 ramp

primary
#87828A
secondary
#B3B6B2
accent
#AD7B8E
background
#FAFAFA
surface
#F4F4F4
border
#CECECE
text
#100F10
muted
#7F7F7F

Preview Lab

Preview with #87828A

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

Preview Lab → · Contrast checker → · Palette generator →

#87828A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva