#787F87#787F87
#787F87 is a mid, near-neutral grey. Relative luminance 0.209; OKLCH L 59.3% C 0.015 H 251.6°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #787F87 |
|---|---|
| RGB | rgb(120, 127, 135) |
| HSL | hsl(212, 6%, 50%) |
| HSV | hsv(212, 11%, 53%) |
| CMYK | cmyk(11.1%, 5.9%, 0%, 47.1%) |
| CIE-LAB | lab(52.86, -0.88, -5.22) |
| CIE-LCH | lch(52.86, 5.29, 260.38°) |
| OKLab | oklab(59.33% -0.0047 -0.014) |
| OKLCH | oklch(59.33% 0.015 251.6) |
| XYZ | xyz(19.7073, 20.9208, 25.9168) |
| Luminance | 0.2092 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Flint
#6F7A80
ΔE00 3.42
Slate Gray
#708090
ΔE00 4.15
Battleship Grey
#6B7C85
ΔE00 4.55
Steel
#738595
ΔE00 4.85
Gray
#808080
ΔE00 4.85
Steel Grey
#6F828A
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787F87 #878078
analogous
#788687 #787F87 #797887
triadic
#787F87 #87787F #7F8778
tetradic
#787F87 #877886 #878078 #788779
square
#787F87 #877886 #878078 #788779
split-complementary
#787F87 #877978 #868778
monochromatic
#3E4246 #5B6167 #787F87 #989EA4 #B9BCC1
Accessibility & contrast
On white
4.05
#787F87 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.18
#787F87 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787F87
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787F87 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787F87 | 1.00 | 4.05 | 5.18 | 5.18 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C7F87
Deuteranopia (green-blind)
#7B7D87
Tritanopia (blue-blind)
#748181
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #787f87; /* rgb */ color: rgb(120, 127, 135); /* oklch */ color: oklch(59.3% 0.015 251.6);
Tailwind
colors: {
custom: {
50: '#9fa4aa',
500: '#787f87',
950: '#000000',
},
}SCSS
$custom: #787f87; $custom-light: #9fa4aa; $custom-dark: #000000;
JSON
{
"hex": "#787f87",
"rgb": {
"r": 120,
"g": 127,
"b": 135
},
"hsl": {
"h": 212,
"s": 5.882,
"l": 50
},
"oklch": {
"l": 0.59327,
"c": 0.01478,
"h": 251.6
},
"luminance": 0.20921
}Semantic roles & 50–950 ramp
primary
#787F87
secondary
#B1AEAA
accent
#9679AF
background
#F9FAFA
surface
#F2F4F4
border
#CCCECE
text
#0E0F10
muted
#7E7F7F