#787C80#787C80
#787C80 is a mid, near-neutral grey. Relative luminance 0.200; OKLCH L 58.4% C 0.008 H 248.0°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #787C80 |
|---|---|
| RGB | rgb(120, 124, 128) |
| HSL | hsl(210, 3%, 49%) |
| HSV | hsv(210, 6%, 50%) |
| CMYK | cmyk(6.3%, 3.1%, 0%, 49.8%) |
| CIE-LAB | lab(51.80, -0.66, -2.69) |
| CIE-LCH | lch(51.80, 2.78, 256.17°) |
| OKLab | oklab(58.42% -0.0029 -0.0072) |
| OKLCH | oklch(58.42% 0.008 248) |
| XYZ | xyz(18.8489, 19.9668, 23.2788) |
| Luminance | 0.1997 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Gray
#808080
ΔE00 3.22
Flint
#6F7A80
ΔE00 3.38
Medium Grey
#7D7F7C
ΔE00 4.18
Battleship Grey
#6B7C85
ΔE00 5.42
Steel Grey
#6F828A
ΔE00 6.16
Slate Gray
#708090
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787C80 #807C78
analogous
#788080 #787C80 #787880
triadic
#787C80 #80787C #7C8078
tetradic
#787C80 #807880 #807C78 #788078
square
#787C80 #807880 #807C78 #788078
split-complementary
#787C80 #807878 #808078
monochromatic
#3D3F41 #5A5D60 #787C80 #979B9E #B7B9BB
Accessibility & contrast
On white
4.21
#787C80 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.99
#787C80 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787C80
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787C80 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787C80 | 1.00 | 4.21 | 4.99 | 4.99 |
| #FFFFFF | 4.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B7C80
Deuteranopia (green-blind)
#7A7B80
Tritanopia (blue-blind)
#767D7D
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #787c80; /* rgb */ color: rgb(120, 124, 128); /* oklch */ color: oklch(58.4% 0.008 248.0);
Tailwind
colors: {
custom: {
50: '#9fa1a4',
500: '#787c80',
950: '#000000',
},
}SCSS
$custom: #787c80; $custom-light: #9fa1a4; $custom-dark: #000000;
JSON
{
"hex": "#787c80",
"rgb": {
"r": 120,
"g": 124,
"b": 128
},
"hsl": {
"h": 210,
"s": 3.226,
"l": 48.627
},
"oklch": {
"l": 0.58421,
"c": 0.00778,
"h": 248
},
"luminance": 0.19967
}Semantic roles & 50–950 ramp
primary
#787C80
secondary
#ACAAA8
accent
#947BAC
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0F0F
muted
#7E7E7F