#7E7A82#7E7A82
#7E7A82 is a mid, near-neutral grey. Relative luminance 0.200; OKLCH L 58.6% C 0.013 H 308.2°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7A82 |
|---|---|
| RGB | rgb(126, 122, 130) |
| HSL | hsl(270, 3%, 49%) |
| HSV | hsv(270, 6%, 51%) |
| CMYK | cmyk(3.1%, 6.2%, 0%, 49%) |
| CIE-LAB | lab(51.80, 3.12, -3.81) |
| CIE-LCH | lch(51.80, 4.93, 309.33°) |
| OKLab | oklab(58.56% 0.008 -0.0101) |
| OKLCH | oklch(58.56% 0.013 308.2) |
| XYZ | xyz(19.5923, 19.9664, 23.9365) |
| Luminance | 0.1997 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Gray
#808080
ΔE00 5.60
Medium Grey
#7D7F7C
ΔE00 7.68
Flint
#6F7A80
ΔE00 8.50
Dimgray
#696969
ΔE00 9.03
Slate Gray
#708090
ΔE00 9.49
Purpley Grey
#947E94
ΔE00 9.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7A82 #7E827A
analogous
#7A7A82 #7E7A82 #827A82
triadic
#7E7A82 #827E7A #7A827E
tetradic
#7E7A82 #827A7A #7E827A #7A8282
square
#7E7A82 #827A7A #7E827A #7A8282
split-complementary
#7E7A82 #82827A #7A827A
monochromatic
#413F43 #5F5C62 #7E7A82 #9D99A0 #BBB9BD
Accessibility & contrast
On white
4.21
#7E7A82 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.99
#7E7A82 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E7A82
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7A82 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E7A82 | 1.00 | 4.21 | 4.99 | 4.99 |
| #FFFFFF | 4.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#797B82
Deuteranopia (green-blind)
#7A7C82
Tritanopia (blue-blind)
#7E7B7D
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #7e7a82; /* rgb */ color: rgb(126, 122, 130); /* oklch */ color: oklch(58.6% 0.013 308.2);
Tailwind
colors: {
custom: {
50: '#a3a0a6',
500: '#7e7a82',
950: '#000000',
},
}SCSS
$custom: #7e7a82; $custom-light: #a3a0a6; $custom-dark: #000000;
JSON
{
"hex": "#7e7a82",
"rgb": {
"r": 126,
"g": 122,
"b": 130
},
"hsl": {
"h": 270,
"s": 3.175,
"l": 49.412
},
"oklch": {
"l": 0.58564,
"c": 0.01292,
"h": 308.2
},
"luminance": 0.19966
}Semantic roles & 50–950 ramp
primary
#7E7A82
secondary
#ACAEAA
accent
#AC7B94
background
#FAF9FA
surface
#F3F2F4
border
#CDCCCE
text
#0F0E0F
muted
#7F7E7F