#787178#787178
#787178 is a mid, near-neutral grey. Relative luminance 0.172; OKLCH L 55.7% C 0.014 H 325.8°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #787178 |
|---|---|
| RGB | rgb(120, 113, 120) |
| HSL | hsl(300, 3%, 46%) |
| HSV | hsv(300, 6%, 47%) |
| CMYK | cmyk(0%, 5.8%, 0%, 52.9%) |
| CIE-LAB | lab(48.46, 4.09, -2.89) |
| CIE-LCH | lch(48.46, 5.01, 324.75°) |
| OKLab | oklab(55.72% 0.0112 -0.0076) |
| OKLCH | oklch(55.72% 0.014 325.8) |
| XYZ | xyz(17.0405, 17.1595, 20.1801) |
| Luminance | 0.1716 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Dimgray
#696969
ΔE00 7.07
Gray
#808080
ΔE00 7.79
Purplish Grey
#7A687F
ΔE00 8.57
Purple Grey
#866F85
ΔE00 9.03
Medium Grey
#7D7F7C
ΔE00 9.66
Flint
#6F7A80
ΔE00 10.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787178 #717871
analogous
#747178 #787178 #787174
triadic
#787178 #787871 #717878
tetradic
#787178 #787471 #717871 #717478
square
#787178 #787471 #717871 #717478
split-complementary
#787178 #747871 #717874
monochromatic
#393639 #585358 #787178 #969096 #B4AFB4
Accessibility & contrast
On white
4.74
#787178 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#787178 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #787178
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787178 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##787178 | 1.00 | 4.74 | 4.43 | 4.74 |
| #FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#717378
Deuteranopia (green-blind)
#727378
Tritanopia (blue-blind)
#797273
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #787178; /* rgb */ color: rgb(120, 113, 120); /* oklch */ color: oklch(55.7% 0.014 325.8);
Tailwind
colors: {
custom: {
50: '#9f999f',
500: '#787178',
950: '#000000',
},
}SCSS
$custom: #787178; $custom-light: #9f999f; $custom-dark: #000000;
JSON
{
"hex": "#787178",
"rgb": {
"r": 120,
"g": 113,
"b": 120
},
"hsl": {
"h": 300,
"s": 3.004,
"l": 45.686
},
"oklch": {
"l": 0.55723,
"c": 0.0136,
"h": 325.8
},
"luminance": 0.17159
}Semantic roles & 50–950 ramp
primary
#787178
secondary
#A0A4A0
accent
#AC7C7C
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0E0E
muted
#7E7E7E