#8A797B#8A797B
#8A797B is a mid, muted grey. Relative luminance 0.205; OKLCH L 59.2% C 0.021 H 9.7°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #8A797B |
|---|---|
| RGB | rgb(138, 121, 123) |
| HSL | hsl(353, 7%, 51%) |
| HSV | hsv(353, 12%, 54%) |
| CMYK | cmyk(0%, 12.3%, 10.9%, 45.9%) |
| CIE-LAB | lab(52.41, 6.90, 1.31) |
| CIE-LCH | lch(52.41, 7.02, 10.77°) |
| OKLab | oklab(59.23% 0.0209 0.0036) |
| OKLCH | oklch(59.23% 0.021 9.7) |
| XYZ | xyz(20.8935, 20.5085, 21.5930) |
| Luminance | 0.2051 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Reddish Grey
#997570
ΔE00 7.19
Warm Grey
#978A84
ΔE00 7.60
Gray
#808080
ΔE00 8.53
Purpley Grey
#947E94
ΔE00 9.05
Purple Grey
#866F85
ΔE00 9.21
Purplish Grey
#7A687F
ΔE00 10.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A797B #798A88
analogous
#8A7983 #8A797B #8A7F79
triadic
#8A797B #7B8A79 #797B8A
tetradic
#8A797B #838A79 #798A88 #7F798A
square
#8A797B #838A79 #798A88 #7F798A
split-complementary
#8A797B #798A7F #79838A
monochromatic
#494041 #6A5C5E #8A797B #A79A9B #C3BABB
Accessibility & contrast
On white
4.12
#8A797B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.10
#8A797B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A797B
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A797B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A797B | 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)
#7B7B7B
Deuteranopia (green-blind)
#7F7E7B
Tritanopia (blue-blind)
#8E787A
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #8a797b; /* rgb */ color: rgb(138, 121, 123); /* oklch */ color: oklch(59.2% 0.021 9.7);
Tailwind
colors: {
custom: {
50: '#ac9fa1',
500: '#8a797b',
950: '#000000',
},
}SCSS
$custom: #8a797b; $custom-light: #ac9fa1; $custom-dark: #000000;
JSON
{
"hex": "#8a797b",
"rgb": {
"r": 138,
"g": 121,
"b": 123
},
"hsl": {
"h": 352.941,
"s": 6.773,
"l": 50.784
},
"oklch": {
"l": 0.59234,
"c": 0.0212,
"h": 9.7
},
"luminance": 0.20508
}Semantic roles & 50–950 ramp
primary
#8A797B
secondary
#ACB3B2
accent
#B0A978
background
#FAF9F9
surface
#F4F2F2
border
#CECCCC
text
#100E0E
muted
#7F7E7E