#8A787C#8A787C
#8A787C is a mid, muted grey. Relative luminance 0.203; OKLCH L 59.1% C 0.023 H 2.7°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #8A787C |
|---|---|
| RGB | rgb(138, 120, 124) |
| HSL | hsl(347, 7%, 51%) |
| HSV | hsv(347, 13%, 54%) |
| CMYK | cmyk(0%, 13%, 10.1%, 45.9%) |
| CIE-LAB | lab(52.17, 7.66, 0.37) |
| CIE-LCH | lch(52.17, 7.67, 2.80°) |
| OKLab | oklab(59.06% 0.023 0.0011) |
| OKLCH | oklch(59.06% 0.023 2.7) |
| XYZ | xyz(20.8355, 20.2919, 21.8840) |
| Luminance | 0.2029 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Reddish Grey
#997570
ΔE00 7.27
Purple Grey
#866F85
ΔE00 8.12
Purpley Grey
#947E94
ΔE00 8.14
Warm Grey
#978A84
ΔE00 8.55
Gray
#808080
ΔE00 9.24
Purplish Grey
#7A687F
ΔE00 9.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A787C #788A86
analogous
#8A7885 #8A787C #8A7D78
triadic
#8A787C #7C8A78 #787C8A
tetradic
#8A787C #858A78 #788A86 #7D788A
square
#8A787C #858A78 #788A86 #7D788A
split-complementary
#8A787C #788A7D #78858A
monochromatic
#493F41 #695B5E #8A787C #A6999C #C3BABC
Accessibility & contrast
On white
4.15
#8A787C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#8A787C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A787C
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A787C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A787C | 1.00 | 4.15 | 5.06 | 5.06 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A7B7C
Deuteranopia (green-blind)
#7E7E7C
Tritanopia (blue-blind)
#8E7779
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #8a787c; /* rgb */ color: rgb(138, 120, 124); /* oklch */ color: oklch(59.1% 0.023 2.7);
Tailwind
colors: {
custom: {
50: '#ac9fa1',
500: '#8a787c',
950: '#000000',
},
}SCSS
$custom: #8a787c; $custom-light: #ac9fa1; $custom-dark: #000000;
JSON
{
"hex": "#8a787c",
"rgb": {
"r": 138,
"g": 120,
"b": 124
},
"hsl": {
"h": 346.667,
"s": 7.143,
"l": 50.588
},
"oklch": {
"l": 0.59055,
"c": 0.02298,
"h": 2.7
},
"luminance": 0.20291
}Semantic roles & 50–950 ramp
primary
#8A787C
secondary
#ABB3B1
accent
#B0A478
background
#FAF9F9
surface
#F4F2F2
border
#CECCCC
text
#100E0F
muted
#7F7E7E