#4C5052#4C5052
#4C5052 is a dark, near-neutral grey. Relative luminance 0.079; OKLCH L 42.8% C 0.006 H 228.9°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #4C5052 |
|---|---|
| RGB | rgb(76, 80, 82) |
| HSL | hsl(200, 4%, 31%) |
| HSV | hsv(200, 7%, 32%) |
| CMYK | cmyk(7.3%, 2.4%, 0%, 67.8%) |
| CIE-LAB | lab(33.74, -1.16, -1.73) |
| CIE-LCH | lch(33.74, 2.08, 236.28°) |
| OKLab | oklab(42.83% -0.004 -0.0046) |
| OKLCH | oklch(42.83% 0.006 228.9) |
| XYZ | xyz(7.3718, 7.8829, 9.1142) |
| Luminance | 0.0788 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Charcoal Grey
#3C4142
ΔE00 5.25
Charcoal
#36454F
ΔE00 6.93
Gunmetal (survey)
#536267
ΔE00 7.42
Onyx
#353839
ΔE00 7.98
Slate Grey
#59656D
ΔE00 8.17
Charcoal (survey)
#343837
ΔE00 8.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C5052 #524E4C
analogous
#4C5251 #4C5052 #4C4D52
triadic
#4C5052 #524C50 #50524C
tetradic
#4C5052 #514C52 #524E4C #4D524C
square
#4C5052 #514C52 #524E4C #4D524C
split-complementary
#4C5052 #524C4D #52514C
monochromatic
#111212 #2F3132 #4C5052 #696F72 #888E91
Accessibility & contrast
On white
8.15
#4C5052 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#4C5052 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C5052
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C5052 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C5052 | 1.00 | 8.15 | 2.58 | 8.15 |
| #FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F5052
Deuteranopia (green-blind)
#4E4F52
Tritanopia (blue-blind)
#4B5151
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #4c5052; /* rgb */ color: rgb(76, 80, 82); /* oklch */ color: oklch(42.8% 0.006 228.9);
Tailwind
colors: {
custom: {
50: '#7e8182',
500: '#4c5052',
950: '#000000',
},
}SCSS
$custom: #4c5052; $custom-light: #7e8182; $custom-dark: #000000;
JSON
{
"hex": "#4c5052",
"rgb": {
"r": 76,
"g": 80,
"b": 82
},
"hsl": {
"h": 200,
"s": 3.797,
"l": 30.98
},
"oklch": {
"l": 0.42833,
"c": 0.00617,
"h": 228.9
},
"luminance": 0.07883
}Semantic roles & 50–950 ramp
primary
#4C5052
secondary
#807C7A
accent
#8C7BAD
background
#F7F7F7
surface
#EEEEEE
border
#C9C9C9
text
#090A0A
muted
#7B7C7C