#5A504E#5A504E
#5A504E is a dark, near-neutral grey. Relative luminance 0.085; OKLCH L 44.0% C 0.014 H 31.1°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #5A504E |
|---|---|
| RGB | rgb(90, 80, 78) |
| HSL | hsl(10, 7%, 33%) |
| HSV | hsv(10, 13%, 35%) |
| CMYK | cmyk(0%, 11.1%, 13.3%, 64.7%) |
| CIE-LAB | lab(34.93, 3.74, 2.68) |
| CIE-LCH | lch(34.93, 4.60, 35.66°) |
| OKLab | oklab(44.04% 0.0118 0.0071) |
| OKLCH | oklch(44.04% 0.014 31.1) |
| XYZ | xyz(8.4602, 8.4612, 8.3938) |
| Luminance | 0.0846 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Umber
#635147
ΔE00 5.12
Walnut
#5C4A3D
ΔE00 6.50
Dimgray
#696969
ΔE00 9.94
Espresso
#4B382A
ΔE00 10.45
Charcoal Grey
#3C4142
ΔE00 10.78
Dark Grey
#363737
ΔE00 11.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A504E #4E585A
analogous
#5A4E52 #5A504E #5A564E
triadic
#5A504E #4E5A50 #504E5A
tetradic
#5A504E #525A4E #4E585A #564E5A
square
#5A504E #525A4E #4E585A #564E5A
split-complementary
#5A504E #4E5A56 #4E525A
monochromatic
#181615 #393332 #5A504E #7B6D6A #998C89
Accessibility & contrast
On white
7.80
#5A504E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#5A504E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A504E
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A504E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A504E | 1.00 | 7.80 | 2.69 | 7.80 |
| #FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#52514E
Deuteranopia (green-blind)
#54534E
Tritanopia (blue-blind)
#5D4F4F
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #5a504e; /* rgb */ color: rgb(90, 80, 78); /* oklch */ color: oklch(44.0% 0.014 31.1);
Tailwind
colors: {
custom: {
50: '#88817f',
500: '#5a504e',
950: '#000000',
},
}SCSS
$custom: #5a504e; $custom-light: #88817f; $custom-dark: #000000;
JSON
{
"hex": "#5a504e",
"rgb": {
"r": 90,
"g": 80,
"b": 78
},
"hsl": {
"h": 10,
"s": 7.143,
"l": 32.941
},
"oklch": {
"l": 0.44043,
"c": 0.01374,
"h": 31.1
},
"luminance": 0.08461
}Semantic roles & 50–950 ramp
primary
#5A504E
secondary
#7C8688
accent
#A7B078
background
#F8F7F7
surface
#EFEEEE
border
#CAC9C9
text
#0B0A0A
muted
#7C7C7C