#7E808A#7E808A
#7E808A is a mid, near-neutral grey. Relative luminance 0.217; OKLCH L 60.1% C 0.015 H 276.9°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #7E808A |
|---|---|
| RGB | rgb(126, 128, 138) |
| HSL | hsl(230, 5%, 52%) |
| HSV | hsv(230, 9%, 54%) |
| CMYK | cmyk(8.7%, 7.2%, 0%, 45.9%) |
| CIE-LAB | lab(53.72, 1.34, -5.65) |
| CIE-LCH | lch(53.72, 5.80, 283.30°) |
| OKLab | oklab(60.15% 0.0018 -0.0151) |
| OKLCH | oklch(60.15% 0.015 276.9) |
| XYZ | xyz(20.9099, 21.7088, 27.1284) |
| Luminance | 0.2171 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Gray
#808080
ΔE00 5.28
Slate Gray
#708090
ΔE00 6.03
Flint
#6F7A80
ΔE00 6.47
Lightslategray
#778899
ΔE00 6.63
Steel
#738595
ΔE00 6.71
Medium Grey
#7D7F7C
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E808A #8A887E
analogous
#7E868A #7E808A #827E8A
triadic
#7E808A #8A7E80 #808A7E
tetradic
#7E808A #8A7E86 #8A887E #7E8A82
square
#7E808A #8A7E86 #8A887E #7E8A82
split-complementary
#7E808A #8A827E #868A7E
monochromatic
#43444A #60626A #7E808A #9EA0A7 #BEBFC4
Accessibility & contrast
On white
3.93
#7E808A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.34
#7E808A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E808A
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E808A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E808A | 1.00 | 3.93 | 5.34 | 5.34 |
| #FFFFFF | 3.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E818B
Deuteranopia (green-blind)
#7D808A
Tritanopia (blue-blind)
#7C8283
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #7e808a; /* rgb */ color: rgb(126, 128, 138); /* oklch */ color: oklch(60.1% 0.015 276.9);
Tailwind
colors: {
custom: {
50: '#a3a4ac',
500: '#7e808a',
950: '#000000',
},
}SCSS
$custom: #7e808a; $custom-light: #a3a4ac; $custom-dark: #000000;
JSON
{
"hex": "#7e808a",
"rgb": {
"r": 126,
"g": 128,
"b": 138
},
"hsl": {
"h": 230,
"s": 4.878,
"l": 51.765
},
"oklch": {
"l": 0.60148,
"c": 0.01526,
"h": 276.9
},
"luminance": 0.21709
}Semantic roles & 50–950 ramp
primary
#7E808A
secondary
#B5B4AF
accent
#A57AAE
background
#FAFAFA
surface
#F3F4F4
border
#CDCECE
text
#0F0F10
muted
#7F7F7F