#7A787A#7A787A
#7A787A is a mid, near-neutral grey. Relative luminance 0.190; OKLCH L 57.5% C 0.004 H 325.6°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #7A787A |
|---|---|
| RGB | rgb(122, 120, 122) |
| HSL | hsl(300, 1%, 47%) |
| HSV | hsv(300, 2%, 48%) |
| CMYK | cmyk(0%, 1.6%, 0%, 52.2%) |
| CIE-LAB | lab(50.66, 1.16, -0.83) |
| CIE-LCH | lch(50.66, 1.42, 324.53°) |
| OKLab | oklab(57.51% 0.0032 -0.0022) |
| OKLCH | oklch(57.51% 0.004 325.6) |
| XYZ | xyz(18.2548, 18.9757, 21.1096) |
| Luminance | 0.1898 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Gray
#808080
ΔE00 3.43
Medium Grey
#7D7F7C
ΔE00 4.82
Dimgray
#696969
ΔE00 6.41
Flint
#6F7A80
ΔE00 6.51
Battleship Grey
#6B7C85
ΔE00 8.85
Slate Gray
#708090
ΔE00 9.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A787A #787A78
analogous
#79787A #7A787A #7A7879
triadic
#7A787A #7A7A78 #787A7A
tetradic
#7A787A #7A7978 #787A78 #78797A
square
#7A787A #7A7978 #787A78 #78797A
split-complementary
#7A787A #797A78 #787A79
monochromatic
#3C3B3C #5B5A5B #7A787A #989798 #B7B6B7
Accessibility & contrast
On white
4.38
#7A787A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.80
#7A787A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A787A
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A787A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A787A | 1.00 | 4.38 | 4.80 | 4.80 |
| #FFFFFF | 4.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#78787A
Deuteranopia (green-blind)
#78797A
Tritanopia (blue-blind)
#7A7879
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7a787a; /* rgb */ color: rgb(122, 120, 122); /* oklch */ color: oklch(57.5% 0.004 325.6);
Tailwind
colors: {
custom: {
50: '#a09ea0',
500: '#7a787a',
950: '#000000',
},
}SCSS
$custom: #7a787a; $custom-light: #a09ea0; $custom-dark: #000000;
JSON
{
"hex": "#7a787a",
"rgb": {
"r": 122,
"g": 120,
"b": 122
},
"hsl": {
"h": 300,
"s": 0.826,
"l": 47.451
},
"oklch": {
"l": 0.57508,
"c": 0.00386,
"h": 325.6
},
"luminance": 0.18976
}Semantic roles & 50–950 ramp
primary
#7A787A
secondary
#A6A7A6
accent
#AA7E7E
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0E0E
muted
#7E7E7E