#878286#878286

#878286 is a mid, near-neutral grey. Relative luminance 0.228; OKLCH L 61.2% C 0.008 H 332.2°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#878286
RGBrgb(135, 130, 134)
HSLhsl(312, 2%, 52%)
HSVhsv(312, 4%, 53%)
CMYKcmyk(0%, 3.7%, 0.7%, 47.1%)
CIE-LABlab(54.90, 2.65, -1.49)
CIE-LCHlch(54.90, 3.04, 330.75°)
OKLaboklab(61.22% 0.0074 -0.0039)
OKLCHoklch(61.22% 0.008 332.2)
XYZxyz(22.2767, 22.8375, 25.7841)
Luminance0.2284 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878286 #828783
analogous
#868287 #878286 #878284
triadic
#878286 #868782 #828687
tetradic
#878286 #878682 #828783 #828487
square
#878286 #878682 #828783 #828487
split-complementary
#878286 #848782 #828786
monochromatic
#494648 #686467 #878286 #A5A1A4 #C3C0C2

Accessibility & contrast

On white

3.77
#878286 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#878286 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #878286
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##878286#FFFFFF#000000##000000
##8782861.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#828386
Deuteranopia (green-blind)
#838486
Tritanopia (blue-blind)
#888283
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #878286;
/* rgb */ color: rgb(135, 130, 134);
/* oklch */ color: oklch(61.2% 0.008 332.2);
Tailwind
colors: {
  custom: {
    50: '#aaa6a9',
    500: '#878286',
    950: '#000000',
  },
}
SCSS
$custom: #878286;
$custom-light: #aaa6a9;
$custom-dark: #000000;
JSON
{
  "hex": "#878286",
  "rgb": {
    "r": 135,
    "g": 130,
    "b": 134
  },
  "hsl": {
    "h": 312,
    "s": 2.041,
    "l": 51.961
  },
  "oklch": {
    "l": 0.61224,
    "c": 0.0084,
    "h": 332.2
  },
  "luminance": 0.22837
}

Semantic roles & 50–950 ramp

primary
#878286
secondary
#B1B3B2
accent
#AB867D
background
#FAFAFA
surface
#F4F4F4
border
#CECECE
text
#100F0F
muted
#7F7F7F

Preview Lab

Preview with #878286

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

Preview Lab → · Contrast checker → · Palette generator →

#878286 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva