#5A585E#5A585E
#5A585E is a mid, near-neutral grey. Relative luminance 0.100; OKLCH L 46.4% C 0.010 H 301.1°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #5A585E |
|---|---|
| RGB | rgb(90, 88, 94) |
| HSL | hsl(260, 3%, 36%) |
| HSV | hsv(260, 6%, 37%) |
| CMYK | cmyk(4.3%, 6.4%, 0%, 63.1%) |
| CIE-LAB | lab(37.77, 2.09, -3.17) |
| CIE-LCH | lch(37.77, 3.80, 303.37°) |
| OKLab | oklab(46.43% 0.0051 -0.0085) |
| OKLCH | oklch(46.43% 0.01 301.1) |
| XYZ | xyz(9.7262, 9.9613, 11.9978) |
| Luminance | 0.0996 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Dimgray
#696969
ΔE00 7.18
Slate Grey
#59656D
ΔE00 8.14
Gunmetal (survey)
#536267
ΔE00 9.35
Charcoal Grey
#3C4142
ΔE00 10.28
Slate
#516572
ΔE00 10.54
Umber
#635147
ΔE00 10.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A585E #5C5E58
analogous
#58595E #5A585E #5D585E
triadic
#5A585E #5E5A58 #585E5A
tetradic
#5A585E #5E5859 #5C5E58 #585E5D
square
#5A585E #5E5859 #5C5E58 #585E5D
split-complementary
#5A585E #5E5D58 #595E58
monochromatic
#1D1D1F #3C3A3E #5A585E #78767E #97959C
Accessibility & contrast
On white
7.02
#5A585E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#5A585E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A585E
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A585E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A585E | 1.00 | 7.02 | 2.99 | 7.02 |
| #FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#57595E
Deuteranopia (green-blind)
#57595E
Tritanopia (blue-blind)
#59595A
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #5a585e; /* rgb */ color: rgb(90, 88, 94); /* oklch */ color: oklch(46.4% 0.010 301.1);
Tailwind
colors: {
custom: {
50: '#88878b',
500: '#5a585e',
950: '#000000',
},
}SCSS
$custom: #5a585e; $custom-light: #88878b; $custom-dark: #000000;
JSON
{
"hex": "#5a585e",
"rgb": {
"r": 90,
"g": 88,
"b": 94
},
"hsl": {
"h": 260,
"s": 3.297,
"l": 35.686
},
"oklch": {
"l": 0.46434,
"c": 0.00988,
"h": 301.1
},
"luminance": 0.09961
}Semantic roles & 50–950 ramp
primary
#5A585E
secondary
#8A8C86
accent
#AC7B9C
background
#F8F8F8
surface
#EFEFF0
border
#CACACB
text
#0B0B0C
muted
#7C7C7D