#514B51#514B51
#514B51 is a dark, near-neutral grey. Relative luminance 0.074; OKLCH L 42.1% C 0.013 H 325.8°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).
Color values
| HEX | #514B51 |
|---|---|
| RGB | rgb(81, 75, 81) |
| HSL | hsl(300, 4%, 31%) |
| HSV | hsv(300, 7%, 32%) |
| CMYK | cmyk(0%, 7.4%, 0%, 68.2%) |
| CIE-LAB | lab(32.65, 3.76, -2.65) |
| CIE-LCH | lch(32.65, 4.60, 324.81°) |
| OKLab | oklab(42.08% 0.0103 -0.007) |
| OKLCH | oklch(42.08% 0.013 325.8) |
| XYZ | xyz(7.3944, 7.3756, 8.8171) |
| Luminance | 0.0738 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Charcoal Grey
#3C4142
ΔE00 9.03
Dark Grey
#363737
ΔE00 9.48
Onyx
#353839
ΔE00 9.83
Umber
#635147
ΔE00 10.05
Charcoal (survey)
#343837
ΔE00 10.90
Walnut
#5C4A3D
ΔE00 11.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#514B51 #4B514B
analogous
#4E4B51 #514B51 #514B4E
triadic
#514B51 #51514B #4B5151
tetradic
#514B51 #514E4B #4B514B #4B4E51
square
#514B51 #514E4B #4B514B #4B4E51
split-complementary
#514B51 #4E514B #4B514E
monochromatic
#111011 #312E31 #514B51 #716871 #908790
Accessibility & contrast
On white
8.48
#514B51 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#514B51 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #514B51
8.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##514B51 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##514B51 | 1.00 | 8.48 | 2.48 | 8.48 |
| #FFFFFF | 8.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B4C51
Deuteranopia (green-blind)
#4C4D51
Tritanopia (blue-blind)
#514B4D
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #514b51; /* rgb */ color: rgb(81, 75, 81); /* oklch */ color: oklch(42.1% 0.013 325.8);
Tailwind
colors: {
custom: {
50: '#817d81',
500: '#514b51',
950: '#000000',
},
}SCSS
$custom: #514b51; $custom-light: #817d81; $custom-dark: #000000;
JSON
{
"hex": "#514b51",
"rgb": {
"r": 81,
"g": 75,
"b": 81
},
"hsl": {
"h": 300,
"s": 3.846,
"l": 30.588
},
"oklch": {
"l": 0.42079,
"c": 0.0125,
"h": 325.8
},
"luminance": 0.07376
}Semantic roles & 50–950 ramp
primary
#514B51
secondary
#797F79
accent
#AD7B7B
background
#F7F7F7
surface
#EEEEEE
border
#C9C9C9
text
#0A090A
muted
#7C7B7C