#645A5E#645A5E
#645A5E is a mid, near-neutral grey. Relative luminance 0.108; OKLCH L 47.8% C 0.014 H 351.4°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).
Color values
| HEX | #645A5E |
|---|---|
| RGB | rgb(100, 90, 94) |
| HSL | hsl(336, 5%, 37%) |
| HSV | hsv(336, 10%, 39%) |
| CMYK | cmyk(0%, 10%, 6%, 60.8%) |
| CIE-LAB | lab(39.29, 4.83, -0.83) |
| CIE-LCH | lch(39.29, 4.90, 350.27°) |
| OKLab | oklab(47.85% 0.0142 -0.0021) |
| OKLCH | oklch(47.85% 0.014 351.4) |
| XYZ | xyz(10.9318, 10.8300, 12.1020) |
| Luminance | 0.1083 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Dimgray
#696969
ΔE00 7.78
Umber
#635147
ΔE00 8.49
Walnut
#5C4A3D
ΔE00 10.89
Purplish Grey
#7A687F
ΔE00 10.96
Slate Grey
#59656D
ΔE00 12.17
Purplish Brown
#6B4247
ΔE00 12.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645A5E #5A6460
analogous
#645A63 #645A5E #645B5A
triadic
#645A5E #5E645A #5A5E64
tetradic
#645A5E #63645A #5A6460 #5B5A64
square
#645A5E #63645A #5A6460 #5B5A64
split-complementary
#645A5E #5A645B #5A6364
monochromatic
#242021 #443D40 #645A5E #84777C #A1979B
Accessibility & contrast
On white
6.63
#645A5E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#645A5E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645A5E
6.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645A5E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645A5E | 1.00 | 6.63 | 3.17 | 6.63 |
| #FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B5C5E
Deuteranopia (green-blind)
#5D5D5E
Tritanopia (blue-blind)
#665A5B
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #645a5e; /* rgb */ color: rgb(100, 90, 94); /* oklch */ color: oklch(47.8% 0.014 351.4);
Tailwind
colors: {
custom: {
50: '#90888b',
500: '#645a5e',
950: '#000000',
},
}SCSS
$custom: #645a5e; $custom-light: #90888b; $custom-dark: #000000;
JSON
{
"hex": "#645a5e",
"rgb": {
"r": 100,
"g": 90,
"b": 94
},
"hsl": {
"h": 336,
"s": 5.263,
"l": 37.255
},
"oklch": {
"l": 0.47849,
"c": 0.01431,
"h": 351.4
},
"luminance": 0.1083
}Semantic roles & 50–950 ramp
primary
#645A5E
secondary
#89918E
accent
#AE9979
background
#F8F8F8
surface
#F0EFF0
border
#CBCACB
text
#0C0B0C
muted
#7D7C7D