#7F8A8A#7F8A8A
#7F8A8A is a light, near-neutral grey. Relative luminance 0.245; OKLCH L 62.4% C 0.013 H 196.8°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #7F8A8A |
|---|---|
| RGB | rgb(127, 138, 138) |
| HSL | hsl(180, 4%, 52%) |
| HSV | hsv(180, 8%, 54%) |
| CMYK | cmyk(8%, 0%, 0%, 45.9%) |
| CIE-LAB | lab(56.61, -4.00, -1.38) |
| CIE-LCH | lch(56.61, 4.23, 198.99°) |
| OKLab | oklab(62.44% -0.0123 -0.0037) |
| OKLCH | oklch(62.44% 0.013 196.8) |
| XYZ | xyz(22.4273, 24.5237, 27.5918) |
| Luminance | 0.2452 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Pewter
#899397
ΔE00 4.09
Medium Grey
#7D7F7C
ΔE00 5.49
Steel Grey
#6F828A
ΔE00 5.51
Grey
#929591
ΔE00 5.79
Gray
#808080
ΔE00 6.11
Bluish Grey
#748B97
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F8A8A #8A7F7F
analogous
#7F8A85 #7F8A8A #7F858A
triadic
#7F8A8A #8A7F8A #8A8A7F
tetradic
#7F8A8A #857F8A #8A7F7F #858A7F
square
#7F8A8A #857F8A #8A7F7F #858A7F
split-complementary
#7F8A8A #8A7F85 #8A857F
monochromatic
#444B4B #616A6A #7F8A8A #9FA7A7 #BFC4C4
Accessibility & contrast
On white
3.56
#7F8A8A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.90
#7F8A8A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F8A8A
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F8A8A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F8A8A | 1.00 | 3.56 | 5.90 | 5.90 |
| #FFFFFF | 3.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#88898A
Deuteranopia (green-blind)
#86878A
Tritanopia (blue-blind)
#7C8B8A
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #7f8a8a; /* rgb */ color: rgb(127, 138, 138); /* oklch */ color: oklch(62.4% 0.013 196.8);
Tailwind
colors: {
custom: {
50: '#a4acac',
500: '#7f8a8a',
950: '#000000',
},
}SCSS
$custom: #7f8a8a; $custom-light: #a4acac; $custom-dark: #000000;
JSON
{
"hex": "#7f8a8a",
"rgb": {
"r": 127,
"g": 138,
"b": 138
},
"hsl": {
"h": 180,
"s": 4.49,
"l": 51.961
},
"oklch": {
"l": 0.62442,
"c": 0.01287,
"h": 196.8
},
"luminance": 0.24524
}Semantic roles & 50–950 ramp
primary
#7F8A8A
secondary
#B5B0B0
accent
#7A7AAE
background
#FAFAFA
surface
#F4F4F4
border
#CECECE
text
#0F1010
muted
#7F7F7F