#787A7C#787A7C
#787A7C is a mid, near-neutral grey. Relative luminance 0.194; OKLCH L 57.8% C 0.004 H 247.8°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #787A7C |
|---|---|
| RGB | rgb(120, 122, 124) |
| HSL | hsl(210, 2%, 48%) |
| HSV | hsv(210, 3%, 49%) |
| CMYK | cmyk(3.2%, 1.6%, 0%, 51.4%) |
| CIE-LAB | lab(51.11, -0.34, -1.35) |
| CIE-LCH | lch(51.11, 1.40, 255.80°) |
| OKLab | oklab(57.84% -0.0015 -0.0036) |
| OKLCH | oklch(57.84% 0.004 247.8) |
| XYZ | xyz(18.3427, 19.3673, 21.8368) |
| Luminance | 0.1937 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Gray
#808080
ΔE00 2.81
Medium Grey
#7D7F7C
ΔE00 3.51
Flint
#6F7A80
ΔE00 4.24
Battleship Grey
#6B7C85
ΔE00 6.47
Dimgray
#696969
ΔE00 6.75
Steel Grey
#6F828A
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787A7C #7C7A78
analogous
#787C7C #787A7C #78787C
triadic
#787A7C #7C787A #7A7C78
tetradic
#787A7C #7C787C #7C7A78 #787C78
square
#787A7C #7C787C #7C7A78 #787C78
split-complementary
#787A7C #7C7878 #7C7C78
monochromatic
#3C3D3E #5A5B5D #787A7C #97999A #B6B7B8
Accessibility & contrast
On white
4.31
#787A7C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#787A7C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787A7C
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787A7C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787A7C | 1.00 | 4.31 | 4.87 | 4.87 |
| #FFFFFF | 4.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#797A7C
Deuteranopia (green-blind)
#797A7C
Tritanopia (blue-blind)
#777A7B
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #787a7c; /* rgb */ color: rgb(120, 122, 124); /* oklch */ color: oklch(57.8% 0.004 247.8);
Tailwind
colors: {
custom: {
50: '#9fa0a1',
500: '#787a7c',
950: '#000000',
},
}SCSS
$custom: #787a7c; $custom-light: #9fa0a1; $custom-dark: #000000;
JSON
{
"hex": "#787a7c",
"rgb": {
"r": 120,
"g": 122,
"b": 124
},
"hsl": {
"h": 210,
"s": 1.639,
"l": 47.843
},
"oklch": {
"l": 0.57843,
"c": 0.0039,
"h": 247.8
},
"luminance": 0.19367
}Semantic roles & 50–950 ramp
primary
#787A7C
secondary
#A9A8A7
accent
#947DAB
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0E0F
muted
#7E7E7E