#7E7A86#7E7A86
#7E7A86 is a mid, near-neutral grey. Relative luminance 0.201; OKLCH L 58.7% C 0.019 H 301.0°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7A86 |
|---|---|
| RGB | rgb(126, 122, 134) |
| HSL | hsl(260, 5%, 50%) |
| HSV | hsv(260, 9%, 53%) |
| CMYK | cmyk(6%, 9%, 0%, 47.5%) |
| CIE-LAB | lab(51.92, 3.96, -5.97) |
| CIE-LCH | lch(51.92, 7.17, 303.53°) |
| OKLab | oklab(58.7% 0.0096 -0.016) |
| OKLCH | oklch(58.7% 0.019 301) |
| XYZ | xyz(19.8660, 20.0759, 25.3781) |
| Luminance | 0.2008 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Gray
#808080
ΔE00 7.26
Purpley Grey
#947E94
ΔE00 8.86
Purple Grey
#866F85
ΔE00 8.95
Purplish Grey
#7A687F
ΔE00 9.36
Medium Grey
#7D7F7C
ΔE00 9.39
Flint
#6F7A80
ΔE00 9.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7A86 #82867A
analogous
#7A7C86 #7E7A86 #847A86
triadic
#7E7A86 #867E7A #7A867E
tetradic
#7E7A86 #867A7C #82867A #7A8684
square
#7E7A86 #867A7C #82867A #7A8684
split-complementary
#7E7A86 #86847A #7C867A
monochromatic
#424046 #605D66 #7E7A86 #9D9AA3 #BCBAC0
Accessibility & contrast
On white
4.19
#7E7A86 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.02
#7E7A86 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E7A86
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7A86 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E7A86 | 1.00 | 4.19 | 5.02 | 5.02 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#787C87
Deuteranopia (green-blind)
#797C86
Tritanopia (blue-blind)
#7D7C7E
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #7e7a86; /* rgb */ color: rgb(126, 122, 134); /* oklch */ color: oklch(58.7% 0.019 301.0);
Tailwind
colors: {
custom: {
50: '#a3a0a9',
500: '#7e7a86',
950: '#000000',
},
}SCSS
$custom: #7e7a86; $custom-light: #a3a0a9; $custom-dark: #000000;
JSON
{
"hex": "#7e7a86",
"rgb": {
"r": 126,
"g": 122,
"b": 134
},
"hsl": {
"h": 260,
"s": 4.724,
"l": 50.196
},
"oklch": {
"l": 0.58702,
"c": 0.01865,
"h": 301
},
"luminance": 0.20076
}Semantic roles & 50–950 ramp
primary
#7E7A86
secondary
#AFB1AB
accent
#AE7A9D
background
#FAF9FA
surface
#F3F2F4
border
#CDCCCE
text
#0F0E0F
muted
#7F7E7F