#7E848A#7E848A
#7E848A is a mid, near-neutral grey. Relative luminance 0.228; OKLCH L 61.0% C 0.012 H 248.0°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #7E848A |
|---|---|
| RGB | rgb(126, 132, 138) |
| HSL | hsl(210, 5%, 52%) |
| HSV | hsv(210, 9%, 54%) |
| CMYK | cmyk(8.7%, 4.3%, 0%, 45.9%) |
| CIE-LAB | lab(54.84, -0.96, -3.99) |
| CIE-LCH | lch(54.84, 4.10, 256.50°) |
| OKLab | oklab(61.03% -0.0043 -0.0107) |
| OKLCH | oklch(61.03% 0.012 248) |
| XYZ | xyz(21.4419, 22.7729, 27.3058) |
| Luminance | 0.2277 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Gray
#808080
ΔE00 4.05
Flint
#6F7A80
ΔE00 4.85
Steel
#738595
ΔE00 5.39
Medium Grey
#7D7F7C
ΔE00 5.40
Slate Gray
#708090
ΔE00 5.43
Steel Grey
#6F828A
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E848A #8A847E
analogous
#7E8A8A #7E848A #7E7E8A
triadic
#7E848A #8A7E84 #848A7E
tetradic
#7E848A #8A7E8A #8A847E #7E8A7E
square
#7E848A #8A7E8A #8A847E #7E8A7E
split-complementary
#7E848A #8A7E7E #8A8A7E
monochromatic
#43474A #60656A #7E848A #9EA3A7 #BEC1C4
Accessibility & contrast
On white
3.78
#7E848A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.55
#7E848A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E848A
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E848A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E848A | 1.00 | 3.78 | 5.55 | 5.55 |
| #FFFFFF | 3.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#82848A
Deuteranopia (green-blind)
#80838A
Tritanopia (blue-blind)
#7B8586
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #7e848a; /* rgb */ color: rgb(126, 132, 138); /* oklch */ color: oklch(61.0% 0.012 248.0);
Tailwind
colors: {
custom: {
50: '#a3a7ac',
500: '#7e848a',
950: '#000000',
},
}SCSS
$custom: #7e848a; $custom-light: #a3a7ac; $custom-dark: #000000;
JSON
{
"hex": "#7e848a",
"rgb": {
"r": 126,
"g": 132,
"b": 138
},
"hsl": {
"h": 210,
"s": 4.878,
"l": 51.765
},
"oklch": {
"l": 0.61028,
"c": 0.01154,
"h": 248
},
"luminance": 0.22773
}Semantic roles & 50–950 ramp
primary
#7E848A
secondary
#B5B2AF
accent
#947AAE
background
#FAFAFA
surface
#F3F4F4
border
#CDCECE
text
#0F0F10
muted
#7F7F7F