#5A545C#5A545C
#5A545C is a mid, near-neutral grey. Relative luminance 0.093; OKLCH L 45.4% C 0.015 H 317.7°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #5A545C |
|---|---|
| RGB | rgb(90, 84, 92) |
| HSL | hsl(285, 5%, 35%) |
| HSV | hsv(285, 9%, 36%) |
| CMYK | cmyk(2.2%, 8.7%, 0%, 63.9%) |
| CIE-LAB | lab(36.53, 4.12, -3.76) |
| CIE-LCH | lch(36.53, 5.58, 317.63°) |
| OKLab | oklab(45.44% 0.011 -0.01) |
| OKLCH | oklch(45.44% 0.015 317.7) |
| XYZ | xyz(9.3182, 9.2871, 11.4248) |
| Luminance | 0.0929 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Dimgray
#696969
ΔE00 9.35
Umber
#635147
ΔE00 10.53
Slate Grey
#59656D
ΔE00 11.10
Charcoal Grey
#3C4142
ΔE00 11.28
Purplish Grey
#7A687F
ΔE00 11.91
Walnut
#5C4A3D
ΔE00 12.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A545C #565C54
analogous
#56545C #5A545C #5C545A
triadic
#5A545C #5C5A54 #545C5A
tetradic
#5A545C #5C5654 #565C54 #545A5C
square
#5A545C #5C5654 #565C54 #545A5C
split-complementary
#5A545C #5A5C54 #545C56
monochromatic
#1B1A1C #3B373C #5A545C #79717C #98909A
Accessibility & contrast
On white
7.35
#5A545C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#5A545C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A545C
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A545C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A545C | 1.00 | 7.35 | 2.86 | 7.35 |
| #FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#53565C
Deuteranopia (green-blind)
#54565C
Tritanopia (blue-blind)
#5A5557
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #5a545c; /* rgb */ color: rgb(90, 84, 92); /* oklch */ color: oklch(45.4% 0.015 317.7);
Tailwind
colors: {
custom: {
50: '#88848a',
500: '#5a545c',
950: '#000000',
},
}SCSS
$custom: #5a545c; $custom-light: #88848a; $custom-dark: #000000;
JSON
{
"hex": "#5a545c",
"rgb": {
"r": 90,
"g": 84,
"b": 92
},
"hsl": {
"h": 285,
"s": 4.545,
"l": 34.51
},
"oklch": {
"l": 0.45441,
"c": 0.01488,
"h": 317.7
},
"luminance": 0.09287
}Semantic roles & 50–950 ramp
primary
#5A545C
secondary
#848A82
accent
#AE7A87
background
#F8F8F8
surface
#EFEFF0
border
#CACACB
text
#0B0A0B
muted
#7C7C7C