#8A797A#8A797A
#8A797A is a mid, muted grey. Relative luminance 0.205; OKLCH L 59.2% C 0.021 H 13.7°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #8A797A |
|---|---|
| RGB | rgb(138, 121, 122) |
| HSL | hsl(356, 7%, 51%) |
| HSV | hsv(356, 12%, 54%) |
| CMYK | cmyk(0%, 12.3%, 11.6%, 45.9%) |
| CIE-LAB | lab(52.38, 6.72, 1.86) |
| CIE-LCH | lch(52.38, 6.97, 15.46°) |
| OKLab | oklab(59.2% 0.0205 0.005) |
| OKLCH | oklch(59.2% 0.021 13.7) |
| XYZ | xyz(20.8312, 20.4836, 21.2650) |
| Luminance | 0.2048 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Reddish Grey
#997570
ΔE00 7.03
Warm Grey
#978A84
ΔE00 7.32
Gray
#808080
ΔE00 8.41
Purpley Grey
#947E94
ΔE00 9.52
Purple Grey
#866F85
ΔE00 9.66
Taupe
#8B7D6B
ΔE00 10.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A797A #798A89
analogous
#8A7982 #8A797A #8A8079
triadic
#8A797A #7A8A79 #797A8A
tetradic
#8A797A #828A79 #798A89 #80798A
square
#8A797A #828A79 #798A89 #80798A
split-complementary
#8A797A #798A80 #79828A
monochromatic
#494040 #6A5C5D #8A797A #A79A9A #C3BABB
Accessibility & contrast
On white
4.12
#8A797A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.10
#8A797A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A797A
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A797A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A797A | 1.00 | 4.12 | 5.10 | 5.10 |
| #FFFFFF | 4.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C7B7A
Deuteranopia (green-blind)
#7F7E7A
Tritanopia (blue-blind)
#8E7879
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #8a797a; /* rgb */ color: rgb(138, 121, 122); /* oklch */ color: oklch(59.2% 0.021 13.7);
Tailwind
colors: {
custom: {
50: '#ac9fa0',
500: '#8a797a',
950: '#000000',
},
}SCSS
$custom: #8a797a; $custom-light: #ac9fa0; $custom-dark: #000000;
JSON
{
"hex": "#8a797a",
"rgb": {
"r": 138,
"g": 121,
"b": 122
},
"hsl": {
"h": 356.471,
"s": 6.773,
"l": 50.784
},
"oklch": {
"l": 0.59203,
"c": 0.02108,
"h": 13.7
},
"luminance": 0.20483
}Semantic roles & 50–950 ramp
primary
#8A797A
secondary
#ACB3B3
accent
#B0AD78
background
#FAF9F9
surface
#F4F2F2
border
#CECCCC
text
#100E0E
muted
#7F7E7E