#8A7C7C#8A7C7C
#8A7C7C is a mid, near-neutral grey. Relative luminance 0.213; OKLCH L 59.9% C 0.017 H 17.6°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7C7C |
|---|---|
| RGB | rgb(138, 124, 124) |
| HSL | hsl(0, 6%, 51%) |
| HSV | hsv(0, 10%, 54%) |
| CMYK | cmyk(0%, 10.1%, 10.1%, 45.9%) |
| CIE-LAB | lab(53.25, 5.35, 1.95) |
| CIE-LCH | lch(53.25, 5.69, 20.03°) |
| OKLab | oklab(59.9% 0.0164 0.0052) |
| OKLCH | oklch(59.9% 0.017 17.6) |
| XYZ | xyz(21.3267, 21.2742, 22.0477) |
| Luminance | 0.2127 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Warm Grey
#978A84
ΔE00 5.95
Gray
#808080
ΔE00 6.97
Reddish Grey
#997570
ΔE00 8.13
Medium Grey
#7D7F7C
ΔE00 9.13
Taupe
#8B7D6B
ΔE00 9.50
Purpley Grey
#947E94
ΔE00 10.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7C7C #7C8A8A
analogous
#8A7C83 #8A7C7C #8A837C
triadic
#8A7C7C #7C8A7C #7C7C8A
tetradic
#8A7C7C #838A7C #7C8A8A #837C8A
square
#8A7C7C #838A7C #7C8A8A #837C8A
split-complementary
#8A7C7C #7C8A83 #7C838A
monochromatic
#4A4242 #6A5F5F #8A7C7C #A79C9C #C4BDBD
Accessibility & contrast
On white
4.00
#8A7C7C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.25
#8A7C7C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7C7C
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7C7C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7C7C | 1.00 | 4.00 | 5.25 | 5.25 |
| #FFFFFF | 4.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E7E7C
Deuteranopia (green-blind)
#81807C
Tritanopia (blue-blind)
#8D7B7C
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #8a7c7c; /* rgb */ color: rgb(138, 124, 124); /* oklch */ color: oklch(59.9% 0.017 17.6);
Tailwind
colors: {
custom: {
50: '#aca1a1',
500: '#8a7c7c',
950: '#000000',
},
}SCSS
$custom: #8a7c7c; $custom-light: #aca1a1; $custom-dark: #000000;
JSON
{
"hex": "#8a7c7c",
"rgb": {
"r": 138,
"g": 124,
"b": 124
},
"hsl": {
"h": 0,
"s": 5.645,
"l": 51.373
},
"oklch": {
"l": 0.599,
"c": 0.01722,
"h": 17.6
},
"luminance": 0.21274
}Semantic roles & 50–950 ramp
primary
#8A7C7C
secondary
#AEB4B4
accent
#AFAF79
background
#FAF9F9
surface
#F4F2F2
border
#CECCCC
text
#100F0F
muted
#7F7E7E