#7E727A#7E727A
#7E727A is a mid, near-neutral grey. Relative luminance 0.179; OKLCH L 56.6% C 0.019 H 337.9°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #7E727A |
|---|---|
| RGB | rgb(126, 114, 122) |
| HSL | hsl(320, 5%, 47%) |
| HSV | hsv(320, 10%, 49%) |
| CMYK | cmyk(0%, 9.5%, 3.2%, 50.6%) |
| CIE-LAB | lab(49.34, 6.18, -2.71) |
| CIE-LCH | lch(49.34, 6.75, 336.31°) |
| OKLab | oklab(56.57% 0.0176 -0.0071) |
| OKLCH | oklch(56.57% 0.019 337.9) |
| XYZ | xyz(18.1339, 17.8756, 20.9036) |
| Luminance | 0.1787 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Purple Grey
#866F85
ΔE00 7.08
Purplish Grey
#7A687F
ΔE00 7.36
Gray
#808080
ΔE00 8.98
Purpley Grey
#947E94
ΔE00 8.99
Dimgray
#696969
ΔE00 9.28
Grey Purple
#826D8C
ΔE00 9.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E727A #727E76
analogous
#7C727E #7E727A #7E7274
triadic
#7E727A #7A7E72 #727A7E
tetradic
#7E727A #7E7C72 #727E76 #72747E
square
#7E727A #7E7C72 #727E76 #72747E
split-complementary
#7E727A #747E72 #727E7C
monochromatic
#3E383C #5E555B #7E727A #9C9198 #B9B2B6
Accessibility & contrast
On white
4.59
#7E727A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.58
#7E727A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7E727A
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E727A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E727A | 1.00 | 4.59 | 4.58 | 4.59 |
| #FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#72747A
Deuteranopia (green-blind)
#75767A
Tritanopia (blue-blind)
#807275
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7e727a; /* rgb */ color: rgb(126, 114, 122); /* oklch */ color: oklch(56.6% 0.019 337.9);
Tailwind
colors: {
custom: {
50: '#a39aa0',
500: '#7e727a',
950: '#000000',
},
}SCSS
$custom: #7e727a; $custom-light: #a39aa0; $custom-dark: #000000;
JSON
{
"hex": "#7e727a",
"rgb": {
"r": 126,
"g": 114,
"b": 122
},
"hsl": {
"h": 320,
"s": 5,
"l": 47.059
},
"oklch": {
"l": 0.56566,
"c": 0.01899,
"h": 337.9
},
"luminance": 0.17875
}Semantic roles & 50–950 ramp
primary
#7E727A
secondary
#A3A9A5
accent
#AE8B7A
background
#FAF9F9
surface
#F3F2F2
border
#CDCCCC
text
#0F0E0E
muted
#7F7E7E