#87828F#87828F

#87828F is a mid, muted grey. Relative luminance 0.231; OKLCH L 61.5% C 0.020 H 303.2°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#87828F
RGBrgb(135, 130, 143)
HSLhsl(263, 5%, 54%)
HSVhsv(263, 9%, 56%)
CMYKcmyk(5.6%, 9.1%, 0%, 43.9%)
CIE-LABlab(55.17, 4.48, -6.31)
CIE-LCHlch(55.17, 7.74, 305.39°)
OKLaboklab(61.53% 0.0111 -0.0169)
OKLCHoklch(61.53% 0.02 303.2)
XYZxyz(22.9313, 23.0993, 29.2318)
Luminance0.2310 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87828F #8A8F82
analogous
#82838F #87828F #8D828F
triadic
#87828F #8F8782 #828F87
tetradic
#87828F #8F8283 #8A8F82 #828F8D
square
#87828F #8F8283 #8A8F82 #828F8D
split-complementary
#87828F #8F8D82 #838F82
monochromatic
#4A474F #696470 #87828F #A6A2AC #C5C3C9

Accessibility & contrast

On white

3.74
#87828F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#87828F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87828F
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87828F#FFFFFF#000000##000000
##87828F1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#808490
Deuteranopia (green-blind)
#81848F
Tritanopia (blue-blind)
#868486
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #87828f;
/* rgb */ color: rgb(135, 130, 143);
/* oklch */ color: oklch(61.5% 0.020 303.2);
Tailwind
colors: {
  custom: {
    50: '#aaa6af',
    500: '#87828f',
    950: '#000000',
  },
}
SCSS
$custom: #87828f;
$custom-light: #aaa6af;
$custom-dark: #000000;
JSON
{
  "hex": "#87828f",
  "rgb": {
    "r": 135,
    "g": 130,
    "b": 143
  },
  "hsl": {
    "h": 263.077,
    "s": 5.485,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61525,
    "c": 0.02017,
    "h": 303.2
  },
  "luminance": 0.23099
}

Semantic roles & 50–950 ramp

primary
#87828F
secondary
#B7B9B4
accent
#AF799A
background
#FAFAFA
surface
#F4F4F4
border
#CECECE
text
#100F10
muted
#7F7F7F

Preview Lab

Preview with #87828F

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

Preview Lab → · Contrast checker → · Palette generator →

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