#8A797C#8A797C
#8A797C is a mid, muted grey. Relative luminance 0.205; OKLCH L 59.3% C 0.021 H 5.7°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #8A797C |
|---|---|
| RGB | rgb(138, 121, 124) |
| HSL | hsl(349, 7%, 51%) |
| HSV | hsv(349, 12%, 54%) |
| CMYK | cmyk(0%, 12.3%, 10.1%, 45.9%) |
| CIE-LAB | lab(52.44, 7.08, 0.77) |
| CIE-LCH | lch(52.44, 7.12, 6.18°) |
| OKLab | oklab(59.27% 0.0213 0.0021) |
| OKLCH | oklch(59.27% 0.021 5.7) |
| XYZ | xyz(20.9564, 20.5337, 21.9243) |
| Luminance | 0.2053 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Reddish Grey
#997570
ΔE00 7.38
Warm Grey
#978A84
ΔE00 7.89
Purpley Grey
#947E94
ΔE00 8.58
Gray
#808080
ΔE00 8.66
Purple Grey
#866F85
ΔE00 8.77
Purplish Grey
#7A687F
ΔE00 10.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A797C #798A87
analogous
#8A7984 #8A797C #8A7E79
triadic
#8A797C #7C8A79 #797C8A
tetradic
#8A797C #848A79 #798A87 #7E798A
square
#8A797C #848A79 #798A87 #7E798A
split-complementary
#8A797C #798A7E #79848A
monochromatic
#494041 #6A5C5F #8A797C #A79A9C #C3BABC
Accessibility & contrast
On white
4.11
#8A797C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.11
#8A797C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A797C
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A797C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A797C | 1.00 | 4.11 | 5.11 | 5.11 |
| #FFFFFF | 4.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B7B7C
Deuteranopia (green-blind)
#7F7E7C
Tritanopia (blue-blind)
#8D787A
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #8a797c; /* rgb */ color: rgb(138, 121, 124); /* oklch */ color: oklch(59.3% 0.021 5.7);
Tailwind
colors: {
custom: {
50: '#ac9fa1',
500: '#8a797c',
950: '#000000',
},
}SCSS
$custom: #8a797c; $custom-light: #ac9fa1; $custom-dark: #000000;
JSON
{
"hex": "#8a797c",
"rgb": {
"r": 138,
"g": 121,
"b": 124
},
"hsl": {
"h": 349.412,
"s": 6.773,
"l": 50.784
},
"oklch": {
"l": 0.59265,
"c": 0.02142,
"h": 5.7
},
"luminance": 0.20533
}Semantic roles & 50–950 ramp
primary
#8A797C
secondary
#ACB3B2
accent
#B0A678
background
#FAF9F9
surface
#F4F2F2
border
#CECCCC
text
#100E0F
muted
#7F7E7E