#8A868E#8A868E
#8A868E is a light, near-neutral grey. Relative luminance 0.244; OKLCH L 62.6% C 0.013 H 308.3°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #8A868E |
|---|---|
| RGB | rgb(138, 134, 142) |
| HSL | hsl(270, 3%, 54%) |
| HSV | hsv(270, 6%, 56%) |
| CMYK | cmyk(2.8%, 5.6%, 0%, 44.3%) |
| CIE-LAB | lab(56.49, 3.07, -3.75) |
| CIE-LCH | lch(56.49, 4.85, 309.31°) |
| OKLab | oklab(62.61% 0.0079 -0.01) |
| OKLCH | oklch(62.61% 0.013 308.3) |
| XYZ | xyz(23.8880, 24.4065, 29.0384) |
| Luminance | 0.2441 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Gray
#808080
ΔE00 5.92
Warm Grey
#978A84
ΔE00 7.93
Medium Grey
#7D7F7C
ΔE00 8.24
Pewter
#899397
ΔE00 8.92
Grey
#929591
ΔE00 9.32
Purpley Grey
#947E94
ΔE00 9.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A868E #8A8E86
analogous
#86868E #8A868E #8E868E
triadic
#8A868E #8E8A86 #868E8A
tetradic
#8A868E #8E8686 #8A8E86 #868E8E
square
#8A868E #8E8686 #8A8E86 #868E8E
split-complementary
#8A868E #8E8E86 #868E86
monochromatic
#4D4A4F #6B686F #8A868E #A9A6AC #C7C5C9
Accessibility & contrast
On white
3.57
#8A868E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.88
#8A868E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A868E
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A868E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A868E | 1.00 | 3.57 | 5.88 | 5.88 |
| #FFFFFF | 3.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#85878E
Deuteranopia (green-blind)
#86888E
Tritanopia (blue-blind)
#8A8789
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #8a868e; /* rgb */ color: rgb(138, 134, 142); /* oklch */ color: oklch(62.6% 0.013 308.3);
Tailwind
colors: {
custom: {
50: '#aca9af',
500: '#8a868e',
950: '#000000',
},
}SCSS
$custom: #8a868e; $custom-light: #aca9af; $custom-dark: #000000;
JSON
{
"hex": "#8a868e",
"rgb": {
"r": 138,
"g": 134,
"b": 142
},
"hsl": {
"h": 270,
"s": 3.419,
"l": 54.118
},
"oklch": {
"l": 0.62608,
"c": 0.0127,
"h": 308.3
},
"luminance": 0.24406
}Semantic roles & 50–950 ramp
primary
#8A868E
secondary
#B8BAB6
accent
#AD7B94
background
#FAFAFA
surface
#F4F4F4
border
#CECECE
text
#100F10
muted
#7F7F7F