#7E888C#7E888C
#7E888C is a mid, near-neutral grey. Relative luminance 0.239; OKLCH L 62.0% C 0.013 H 223.7°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #7E888C |
|---|---|
| RGB | rgb(126, 136, 140) |
| HSL | hsl(197, 6%, 52%) |
| HSV | hsv(197, 10%, 55%) |
| CMYK | cmyk(10%, 2.9%, 0%, 45.1%) |
| CIE-LAB | lab(56.02, -2.80, -3.39) |
| CIE-LCH | lch(56.02, 4.40, 230.46°) |
| OKLab | oklab(61.98% -0.0096 -0.0091) |
| OKLCH | oklch(61.98% 0.013 223.7) |
| XYZ | xyz(22.1409, 23.9371, 28.2597) |
| Luminance | 0.2394 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Pewter
#899397
ΔE00 3.83
Steel Grey
#6F828A
ΔE00 4.42
Bluish Grey
#748B97
ΔE00 5.00
Gray
#808080
ΔE00 5.35
Flint
#6F7A80
ΔE00 5.46
Medium Grey
#7D7F7C
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E888C #8C827E
analogous
#7E8C89 #7E888C #7E818C
triadic
#7E888C #8C7E88 #888C7E
tetradic
#7E888C #897E8C #8C827E #818C7E
square
#7E888C #897E8C #8C827E #818C7E
split-complementary
#7E888C #8C7E81 #8C897E
monochromatic
#444A4C #61696C #7E888C #9EA6A9 #BFC4C6
Accessibility & contrast
On white
3.63
#7E888C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.79
#7E888C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E888C
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E888C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E888C | 1.00 | 3.63 | 5.79 | 5.79 |
| #FFFFFF | 3.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#86878C
Deuteranopia (green-blind)
#83858C
Tritanopia (blue-blind)
#7A8989
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #7e888c; /* rgb */ color: rgb(126, 136, 140); /* oklch */ color: oklch(62.0% 0.013 223.7);
Tailwind
colors: {
custom: {
50: '#a3aaad',
500: '#7e888c',
950: '#000000',
},
}SCSS
$custom: #7e888c; $custom-light: #a3aaad; $custom-dark: #000000;
JSON
{
"hex": "#7e888c",
"rgb": {
"r": 126,
"g": 136,
"b": 140
},
"hsl": {
"h": 197.143,
"s": 5.738,
"l": 52.157
},
"oklch": {
"l": 0.61982,
"c": 0.01323,
"h": 223.7
},
"luminance": 0.23937
}Semantic roles & 50–950 ramp
primary
#7E888C
secondary
#B6B2B0
accent
#8879AF
background
#FAFAFA
surface
#F3F4F4
border
#CDCECE
text
#0F1010
muted
#7F7F7F