#7E7276#7E7276
#7E7276 is a mid, near-neutral grey. Relative luminance 0.178; OKLCH L 56.4% C 0.016 H 355.4°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7276 |
|---|---|
| RGB | rgb(126, 114, 118) |
| HSL | hsl(340, 5%, 47%) |
| HSV | hsv(340, 10%, 49%) |
| CMYK | cmyk(0%, 9.5%, 6.3%, 50.6%) |
| CIE-LAB | lab(49.23, 5.40, -0.52) |
| CIE-LCH | lch(49.23, 5.43, 354.55°) |
| OKLab | oklab(56.43% 0.016 -0.0013) |
| OKLCH | oklch(56.43% 0.016 355.4) |
| XYZ | xyz(17.8912, 17.7785, 19.6251) |
| Luminance | 0.1778 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Gray
#808080
ΔE00 8.12
Dimgray
#696969
ΔE00 8.31
Purple Grey
#866F85
ΔE00 8.75
Purplish Grey
#7A687F
ΔE00 9.04
Reddish Grey
#997570
ΔE00 9.91
Medium Grey
#7D7F7C
ΔE00 10.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7276 #727E7A
analogous
#7E727C #7E7276 #7E7472
triadic
#7E7276 #767E72 #72767E
tetradic
#7E7276 #7C7E72 #727E7A #74727E
square
#7E7276 #7C7E72 #727E7A #74727E
split-complementary
#7E7276 #727E74 #727C7E
monochromatic
#3E383A #5E5558 #7E7276 #9C9195 #B9B2B4
Accessibility & contrast
On white
4.61
#7E7276 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.56
#7E7276 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7E7276
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7276 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E7276 | 1.00 | 4.61 | 4.56 | 4.61 |
| #FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#737476
Deuteranopia (green-blind)
#767676
Tritanopia (blue-blind)
#807273
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7e7276; /* rgb */ color: rgb(126, 114, 118); /* oklch */ color: oklch(56.4% 0.016 355.4);
Tailwind
colors: {
custom: {
50: '#a39a9d',
500: '#7e7276',
950: '#000000',
},
}SCSS
$custom: #7e7276; $custom-light: #a39a9d; $custom-dark: #000000;
JSON
{
"hex": "#7e7276",
"rgb": {
"r": 126,
"g": 114,
"b": 118
},
"hsl": {
"h": 340,
"s": 5,
"l": 47.059
},
"oklch": {
"l": 0.56434,
"c": 0.016,
"h": 355.4
},
"luminance": 0.17778
}Semantic roles & 50–950 ramp
primary
#7E7276
secondary
#A3A9A7
accent
#AE9D7A
background
#FAF9F9
surface
#F3F2F2
border
#CDCCCC
text
#0F0E0E
muted
#7F7E7E