#87828C#87828C

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

Color values

HEX#87828C
RGBrgb(135, 130, 140)
HSLhsl(270, 4%, 53%)
HSVhsv(270, 7%, 55%)
CMYKcmyk(3.6%, 7.1%, 0%, 45.1%)
CIE-LABlab(55.08, 3.86, -4.70)
CIE-LCHlch(55.08, 6.09, 309.37°)
OKLaboklab(61.42% 0.0099 -0.0125)
OKLCHoklch(61.42% 0.016 308.2)
XYZxyz(22.7071, 23.0097, 28.0509)
Luminance0.2301 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87828C #878C82
analogous
#82828C #87828C #8C828C
triadic
#87828C #8C8782 #828C87
tetradic
#87828C #8C8282 #878C82 #828C8C
square
#87828C #8C8282 #878C82 #828C8C
split-complementary
#87828C #8C8C82 #828C82
monochromatic
#4A474D #68646D #87828C #A6A2A9 #C4C2C7

Accessibility & contrast

On white

3.75
#87828C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#87828C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87828C
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87828C#FFFFFF#000000##000000
##87828C1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#81848C
Deuteranopia (green-blind)
#81848C
Tritanopia (blue-blind)
#868385
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #87828c;
/* rgb */ color: rgb(135, 130, 140);
/* oklch */ color: oklch(61.4% 0.016 308.2);
Tailwind
colors: {
  custom: {
    50: '#aaa6ad',
    500: '#87828c',
    950: '#000000',
  },
}
SCSS
$custom: #87828c;
$custom-light: #aaa6ad;
$custom-dark: #000000;
JSON
{
  "hex": "#87828c",
  "rgb": {
    "r": 135,
    "g": 130,
    "b": 140
  },
  "hsl": {
    "h": 270,
    "s": 4.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.61422,
    "c": 0.01595,
    "h": 308.2
  },
  "luminance": 0.2301
}

Semantic roles & 50–950 ramp

primary
#87828C
secondary
#B5B7B3
accent
#AD7A94
background
#FAFAFA
surface
#F4F4F4
border
#CECECE
text
#100F10
muted
#7F7F7F

Preview Lab

Preview with #87828C

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

Preview Lab → · Contrast checker → · Palette generator →

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