#5A4E52#5A4E52
#5A4E52 is a dark, near-neutral grey. Relative luminance 0.082; OKLCH L 43.7% C 0.017 H 355.7°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #5A4E52 |
|---|---|
| RGB | rgb(90, 78, 82) |
| HSL | hsl(340, 7%, 33%) |
| HSV | hsv(340, 13%, 35%) |
| CMYK | cmyk(0%, 13.3%, 8.9%, 64.7%) |
| CIE-LAB | lab(34.46, 5.77, -0.52) |
| CIE-LCH | lch(34.46, 5.80, 354.88°) |
| OKLab | oklab(43.72% 0.0171 -0.0013) |
| OKLCH | oklch(43.72% 0.017 355.7) |
| XYZ | xyz(8.4637, 8.2318, 9.1240) |
| Luminance | 0.0823 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Umber
#635147
ΔE00 7.88
Walnut
#5C4A3D
ΔE00 9.46
Purplish Brown
#6B4247
ΔE00 10.85
Dimgray
#696969
ΔE00 11.32
Dark Grey
#363737
ΔE00 11.88
Charcoal Grey
#3C4142
ΔE00 12.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A4E52 #4E5A56
analogous
#5A4E58 #5A4E52 #5A504E
triadic
#5A4E52 #525A4E #4E525A
tetradic
#5A4E52 #585A4E #4E5A56 #504E5A
square
#5A4E52 #585A4E #4E5A56 #504E5A
split-complementary
#5A4E52 #4E5A50 #4E585A
monochromatic
#181516 #393234 #5A4E52 #7B6A70 #99898F
Accessibility & contrast
On white
7.94
#5A4E52 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#5A4E52 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A4E52
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A4E52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A4E52 | 1.00 | 7.94 | 2.65 | 7.94 |
| #FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F5052
Deuteranopia (green-blind)
#525252
Tritanopia (blue-blind)
#5C4E4F
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #5a4e52; /* rgb */ color: rgb(90, 78, 82); /* oklch */ color: oklch(43.7% 0.017 355.7);
Tailwind
colors: {
custom: {
50: '#887f82',
500: '#5a4e52',
950: '#000000',
},
}SCSS
$custom: #5a4e52; $custom-light: #887f82; $custom-dark: #000000;
JSON
{
"hex": "#5a4e52",
"rgb": {
"r": 90,
"g": 78,
"b": 82
},
"hsl": {
"h": 340,
"s": 7.143,
"l": 32.941
},
"oklch": {
"l": 0.4372,
"c": 0.01713,
"h": 355.7
},
"luminance": 0.08232
}Semantic roles & 50–950 ramp
primary
#5A4E52
secondary
#7C8884
accent
#B09D78
background
#F8F7F7
surface
#EFEEEE
border
#CAC9C9
text
#0B0A0A
muted
#7C7C7C