#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 |
|---|---|
| RGB | rgb(135, 130, 134) |
| HSL | hsl(312, 2%, 52%) |
| HSV | hsv(312, 4%, 53%) |
| CMYK | cmyk(0%, 3.7%, 0.7%, 47.1%) |
| CIE-LAB | lab(54.90, 2.65, -1.49) |
| CIE-LCH | lch(54.90, 3.04, 330.75°) |
| OKLab | oklab(61.22% 0.0074 -0.0039) |
| OKLCH | oklch(61.22% 0.008 332.2) |
| XYZ | xyz(22.2767, 22.8375, 25.7841) |
| Luminance | 0.2284 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Gray
#808080
ΔE00 4.08
Medium Grey
#7D7F7C
ΔE00 6.67
Warm Grey
#978A84
ΔE00 6.73
Grey
#929591
ΔE00 9.29
Pewter
#899397
ΔE00 9.42
Flint
#6F7A80
ΔE00 9.42
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 |
|---|---|---|---|---|
| ##878286 | 1.00 | 3.77 | 5.57 | 5.57 |
| #FFFFFF | 3.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.57 | 21.00 | 1.00 | 1.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