#7C808A#7C808A
#7C808A is a mid, near-neutral grey. Relative luminance 0.216; OKLCH L 60.0% C 0.016 H 268.4°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #7C808A |
|---|---|
| RGB | rgb(124, 128, 138) |
| HSL | hsl(223, 6%, 51%) |
| HSV | hsv(223, 10%, 54%) |
| CMYK | cmyk(10.1%, 7.2%, 0%, 45.9%) |
| CIE-LAB | lab(53.56, 0.62, -5.91) |
| CIE-LCH | lch(53.56, 5.94, 275.99°) |
| OKLab | oklab(59.98% -0.0004 -0.0159) |
| OKLCH | oklch(59.98% 0.016 268.4) |
| XYZ | xyz(20.6178, 21.5582, 27.1147) |
| Luminance | 0.2156 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Slate Gray
#708090
ΔE00 4.99
Gray
#808080
ΔE00 5.27
Flint
#6F7A80
ΔE00 5.55
Steel
#738595
ΔE00 5.69
Lightslategray
#778899
ΔE00 5.73
Battleship Grey
#6B7C85
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C808A #8A867C
analogous
#7C878A #7C808A #7F7C8A
triadic
#7C808A #8A7C80 #808A7C
tetradic
#7C808A #8A7C87 #8A867C #7C8A7F
square
#7C808A #8A7C87 #8A867C #7C8A7F
split-complementary
#7C808A #8A7F7C #878A7C
monochromatic
#42444A #5F626A #7C808A #9C9FA7 #BDBFC4
Accessibility & contrast
On white
3.95
#7C808A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.31
#7C808A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C808A
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C808A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C808A | 1.00 | 3.95 | 5.31 | 5.31 |
| #FFFFFF | 3.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D818B
Deuteranopia (green-blind)
#7C7F8A
Tritanopia (blue-blind)
#798283
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #7c808a; /* rgb */ color: rgb(124, 128, 138); /* oklch */ color: oklch(60.0% 0.016 268.4);
Tailwind
colors: {
custom: {
50: '#a2a4ac',
500: '#7c808a',
950: '#000000',
},
}SCSS
$custom: #7c808a; $custom-light: #a2a4ac; $custom-dark: #000000;
JSON
{
"hex": "#7c808a",
"rgb": {
"r": 124,
"g": 128,
"b": 138
},
"hsl": {
"h": 222.857,
"s": 5.645,
"l": 51.373
},
"oklch": {
"l": 0.59981,
"c": 0.01587,
"h": 268.4
},
"luminance": 0.21558
}Semantic roles & 50–950 ramp
primary
#7C808A
secondary
#B4B2AE
accent
#9F79AF
background
#F9FAFA
surface
#F2F4F4
border
#CCCECE
text
#0F0F10
muted
#7E7F7F