#787A7E#787A7E
#787A7E is a mid, near-neutral grey. Relative luminance 0.194; OKLCH L 57.9% C 0.007 H 264.5°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #787A7E |
|---|---|
| RGB | rgb(120, 122, 126) |
| HSL | hsl(220, 2%, 48%) |
| HSV | hsv(220, 5%, 49%) |
| CMYK | cmyk(4.8%, 3.2%, 0%, 50.6%) |
| CIE-LAB | lab(51.17, 0.07, -2.44) |
| CIE-LCH | lch(51.17, 2.44, 271.69°) |
| OKLab | oklab(57.91% -0.0006 -0.0065) |
| OKLCH | oklch(57.91% 0.007 264.5) |
| XYZ | xyz(18.4704, 19.4184, 22.5097) |
| Luminance | 0.1942 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Gray
#808080
ΔE00 3.32
Flint
#6F7A80
ΔE00 4.21
Medium Grey
#7D7F7C
ΔE00 4.53
Battleship Grey
#6B7C85
ΔE00 6.34
Slate Gray
#708090
ΔE00 7.00
Dimgray
#696969
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787A7E #7E7C78
analogous
#787D7E #787A7E #79787E
triadic
#787A7E #7E787A #7A7E78
tetradic
#787A7E #7E787D #7E7C78 #787E79
square
#787A7E #7E787D #7E7C78 #787E79
split-complementary
#787A7E #7E7978 #7D7E78
monochromatic
#3C3D3F #5A5C5F #787A7E #97999C #B6B8BA
Accessibility & contrast
On white
4.30
#787A7E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.88
#787A7E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787A7E
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787A7E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787A7E | 1.00 | 4.30 | 4.88 | 4.88 |
| #FFFFFF | 4.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#797A7E
Deuteranopia (green-blind)
#787A7E
Tritanopia (blue-blind)
#777B7B
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #787a7e; /* rgb */ color: rgb(120, 122, 126); /* oklch */ color: oklch(57.9% 0.007 264.5);
Tailwind
colors: {
custom: {
50: '#9fa0a3',
500: '#787a7e',
950: '#000000',
},
}SCSS
$custom: #787a7e; $custom-light: #9fa0a3; $custom-dark: #000000;
JSON
{
"hex": "#787a7e",
"rgb": {
"r": 120,
"g": 122,
"b": 126
},
"hsl": {
"h": 220,
"s": 2.439,
"l": 48.235
},
"oklch": {
"l": 0.57909,
"c": 0.00655,
"h": 264.5
},
"luminance": 0.19418
}Semantic roles & 50–950 ramp
primary
#787A7E
secondary
#AAA9A7
accent
#9C7CAC
background
#F9F9FA
surface
#F2F2F3
border
#CCCCCD
text
#0E0E0F
muted
#7E7E7F