#7E7872#7E7872
#7E7872 is a mid, near-neutral grey. Relative luminance 0.191; OKLCH L 57.6% C 0.012 H 67.6°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7872 |
|---|---|
| RGB | rgb(126, 120, 114) |
| HSL | hsl(30, 5%, 47%) |
| HSV | hsv(30, 10%, 49%) |
| CMYK | cmyk(0%, 4.8%, 9.5%, 50.6%) |
| CIE-LAB | lab(50.78, 1.15, 4.11) |
| CIE-LCH | lch(50.78, 4.27, 74.31°) |
| OKLab | oklab(57.62% 0.0045 0.0108) |
| OKLCH | oklch(57.62% 0.012 67.6) |
| XYZ | xyz(18.3576, 19.0837, 18.6328) |
| Luminance | 0.1908 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Medium Grey
#7D7F7C
ΔE00 4.87
Gray
#808080
ΔE00 4.90
Taupe
#8B7D6B
ΔE00 6.20
Dimgray
#696969
ΔE00 7.46
Brownish Grey
#86775F
ΔE00 7.85
Warm Grey
#978A84
ΔE00 8.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7872 #72787E
analogous
#7E7272 #7E7872 #7E7E72
triadic
#7E7872 #727E78 #78727E
tetradic
#7E7872 #727E72 #72787E #7E727E
square
#7E7872 #727E72 #72787E #7E727E
split-complementary
#7E7872 #727E7E #72727E
monochromatic
#3E3B38 #5E5955 #7E7872 #9C9791 #B9B5B2
Accessibility & contrast
On white
4.36
#7E7872 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.82
#7E7872 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E7872
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7872 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E7872 | 1.00 | 4.36 | 4.82 | 4.82 |
| #FFFFFF | 4.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A7872
Deuteranopia (green-blind)
#7C7972
Tritanopia (blue-blind)
#807776
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7e7872; /* rgb */ color: rgb(126, 120, 114); /* oklch */ color: oklch(57.6% 0.012 67.6);
Tailwind
colors: {
custom: {
50: '#a39e9a',
500: '#7e7872',
950: '#000000',
},
}SCSS
$custom: #7e7872; $custom-light: #a39e9a; $custom-dark: #000000;
JSON
{
"hex": "#7e7872",
"rgb": {
"r": 126,
"g": 120,
"b": 114
},
"hsl": {
"h": 30,
"s": 5,
"l": 47.059
},
"oklch": {
"l": 0.57618,
"c": 0.01169,
"h": 67.6
},
"luminance": 0.19083
}Semantic roles & 50–950 ramp
primary
#7E7872
secondary
#A3A6A9
accent
#94AE7A
background
#FAF9F9
surface
#F3F2F2
border
#CDCCCC
text
#0F0E0E
muted
#7F7E7E