#7E847E#7E847E
#7E847E is a mid, near-neutral grey. Relative luminance 0.224; OKLCH L 60.6% C 0.011 H 145.4°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #7E847E |
|---|---|
| RGB | rgb(126, 132, 126) |
| HSL | hsl(120, 2%, 51%) |
| HSV | hsv(120, 5%, 52%) |
| CMYK | cmyk(4.5%, 0%, 4.5%, 48.2%) |
| CIE-LAB | lab(54.50, -3.42, 2.47) |
| CIE-LCH | lch(54.50, 4.22, 144.20°) |
| OKLab | oklab(60.65% -0.0094 0.0065) |
| OKLCH | oklch(60.65% 0.011 145.4) |
| XYZ | xyz(20.6207, 22.4444, 22.9805) |
| Luminance | 0.2245 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Medium Grey
#7D7F7C
ΔE00 3.17
Gray
#808080
ΔE00 5.12
Grey
#929591
ΔE00 6.54
Pewter
#899397
ΔE00 7.60
Flint
#6F7A80
ΔE00 7.70
Steel Grey
#6F828A
ΔE00 8.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E847E #847E84
analogous
#81847E #7E847E #7E8481
triadic
#7E847E #7E7E84 #847E7E
tetradic
#7E847E #7E8184 #847E84 #84817E
square
#7E847E #7E8184 #847E84 #84817E
split-complementary
#7E847E #817E84 #847E81
monochromatic
#424542 #606560 #7E847E #9DA29D #BDC0BD
Accessibility & contrast
On white
3.83
#7E847E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.49
#7E847E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E847E
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E847E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E847E | 1.00 | 3.83 | 5.49 | 5.49 |
| #FFFFFF | 3.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#84837E
Deuteranopia (green-blind)
#83827E
Tritanopia (blue-blind)
#7E8482
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #7e847e; /* rgb */ color: rgb(126, 132, 126); /* oklch */ color: oklch(60.6% 0.011 145.4);
Tailwind
colors: {
custom: {
50: '#a3a7a3',
500: '#7e847e',
950: '#000000',
},
}SCSS
$custom: #7e847e; $custom-light: #a3a7a3; $custom-dark: #000000;
JSON
{
"hex": "#7e847e",
"rgb": {
"r": 126,
"g": 132,
"b": 126
},
"hsl": {
"h": 120,
"s": 2.381,
"l": 50.588
},
"oklch": {
"l": 0.60645,
"c": 0.01139,
"h": 145.4
},
"luminance": 0.22445
}Semantic roles & 50–950 ramp
primary
#7E847E
secondary
#B0AEB0
accent
#7CACAC
background
#FAFAFA
surface
#F3F4F3
border
#CDCECD
text
#0F0F0F
muted
#7F7F7F