#7E787A#7E787A
#7E787A is a mid, near-neutral grey. Relative luminance 0.193; OKLCH L 57.9% C 0.008 H 355.0°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #7E787A |
|---|---|
| RGB | rgb(126, 120, 122) |
| HSL | hsl(340, 2%, 48%) |
| HSV | hsv(340, 5%, 49%) |
| CMYK | cmyk(0%, 4.8%, 3.2%, 50.6%) |
| CIE-LAB | lab(51.01, 2.68, -0.28) |
| CIE-LCH | lch(51.01, 2.69, 354.11°) |
| OKLab | oklab(57.87% 0.0079 -0.0007) |
| OKLCH | oklch(57.87% 0.008 355) |
| XYZ | xyz(18.8330, 19.2738, 21.1367) |
| Luminance | 0.1927 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Gray
#808080
ΔE00 4.48
Medium Grey
#7D7F7C
ΔE00 6.34
Dimgray
#696969
ΔE00 7.47
Warm Grey
#978A84
ΔE00 8.54
Flint
#6F7A80
ΔE00 8.94
Taupe
#8B7D6B
ΔE00 10.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E787A #787E7C
analogous
#7E787D #7E787A #7E7978
triadic
#7E787A #7A7E78 #787A7E
tetradic
#7E787A #7D7E78 #787E7C #79787E
square
#7E787A #7D7E78 #787E7C #79787E
split-complementary
#7E787A #787E79 #787D7E
monochromatic
#3F3C3D #5F5A5C #7E787A #9C9799 #BAB6B8
Accessibility & contrast
On white
4.33
#7E787A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.85
#7E787A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E787A
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E787A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E787A | 1.00 | 4.33 | 4.85 | 4.85 |
| #FFFFFF | 4.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#79797A
Deuteranopia (green-blind)
#7A7A7A
Tritanopia (blue-blind)
#7F7879
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7e787a; /* rgb */ color: rgb(126, 120, 122); /* oklch */ color: oklch(57.9% 0.008 355.0);
Tailwind
colors: {
custom: {
50: '#a39fa0',
500: '#7e787a',
950: '#000000',
},
}SCSS
$custom: #7e787a; $custom-light: #a39fa0; $custom-dark: #000000;
JSON
{
"hex": "#7e787a",
"rgb": {
"r": 126,
"g": 120,
"b": 122
},
"hsl": {
"h": 340,
"s": 2.439,
"l": 48.235
},
"oklch": {
"l": 0.57865,
"c": 0.0079,
"h": 355
},
"luminance": 0.19274
}Semantic roles & 50–950 ramp
primary
#7E787A
secondary
#A7AAA9
accent
#AC9C7C
background
#FAF9F9
surface
#F3F2F2
border
#CDCCCC
text
#0F0E0E
muted
#7F7E7E