#78787C#78787C
#78787C is a mid, near-neutral grey. Relative luminance 0.189; OKLCH L 57.4% C 0.006 H 286.2°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #78787C |
|---|---|
| RGB | rgb(120, 120, 124) |
| HSL | hsl(240, 2%, 48%) |
| HSV | hsv(240, 3%, 49%) |
| CMYK | cmyk(3.2%, 3.2%, 0%, 51.4%) |
| CIE-LAB | lab(50.55, 0.82, -2.19) |
| CIE-LCH | lch(50.55, 2.33, 290.47°) |
| OKLab | oklab(57.4% 0.0017 -0.0058) |
| OKLCH | oklch(57.4% 0.006 286.2) |
| XYZ | xyz(18.0996, 18.8812, 21.7558) |
| Luminance | 0.1888 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Gray
#808080
ΔE00 3.82
Medium Grey
#7D7F7C
ΔE00 5.14
Flint
#6F7A80
ΔE00 5.33
Dimgray
#696969
ΔE00 6.47
Battleship Grey
#6B7C85
ΔE00 7.52
Slate Gray
#708090
ΔE00 7.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#78787C #7C7C78
analogous
#787A7C #78787C #7A787C
triadic
#78787C #7C7878 #787C78
tetradic
#78787C #7C787A #7C7C78 #787C7A
square
#78787C #7C787A #7C7C78 #787C7A
split-complementary
#78787C #7C7A78 #7A7C78
monochromatic
#3C3C3E #5A5A5D #78787C #97979A #B6B6B8
Accessibility & contrast
On white
4.40
#78787C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#78787C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #78787C
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##78787C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##78787C | 1.00 | 4.40 | 4.78 | 4.78 |
| #FFFFFF | 4.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#77787C
Deuteranopia (green-blind)
#77787C
Tritanopia (blue-blind)
#777979
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #78787c; /* rgb */ color: rgb(120, 120, 124); /* oklch */ color: oklch(57.4% 0.006 286.2);
Tailwind
colors: {
custom: {
50: '#9f9ea1',
500: '#78787c',
950: '#000000',
},
}SCSS
$custom: #78787c; $custom-light: #9f9ea1; $custom-dark: #000000;
JSON
{
"hex": "#78787c",
"rgb": {
"r": 120,
"g": 120,
"b": 124
},
"hsl": {
"h": 240,
"s": 1.639,
"l": 47.843
},
"oklch": {
"l": 0.57399,
"c": 0.00606,
"h": 286.2
},
"luminance": 0.18881
}Semantic roles & 50–950 ramp
primary
#78787C
secondary
#A9A9A7
accent
#AB7DAB
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0E0F
muted
#7E7E7E