#5B4E52#5B4E52

#5B4E52 is a dark, near-neutral grey. Relative luminance 0.083; OKLCH L 43.8% C 0.018 H 357.4°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#5B4E52
RGBrgb(91, 78, 82)
HSLhsl(342, 8%, 33%)
HSVhsv(342, 14%, 36%)
CMYKcmyk(0%, 14.3%, 9.9%, 64.3%)
CIE-LABlab(34.56, 6.19, -0.35)
CIE-LCHlch(34.56, 6.20, 356.72°)
OKLaboklab(43.83% 0.0184 -0.0008)
OKLCHoklch(43.83% 0.018 357.4)
XYZxyz(8.5616, 8.2823, 9.1286)
Luminance0.0828 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4E52 #4E5B57
analogous
#5B4E58 #5B4E52 #5B504E
triadic
#5B4E52 #525B4E #4E525B
tetradic
#5B4E52 #585B4E #4E5B57 #504E5B
square
#5B4E52 #585B4E #4E5B57 #504E5B
split-complementary
#5B4E52 #4E5B50 #4E585B
monochromatic
#191617 #3A3234 #5B4E52 #7C6A70 #9A898E

Accessibility & contrast

On white

7.91
#5B4E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#5B4E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B4E52
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4E52#FFFFFF#000000##FFFFFF
##5B4E521.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5052
Deuteranopia (green-blind)
#525252
Tritanopia (blue-blind)
#5D4D4F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5b4e52;
/* rgb */ color: rgb(91, 78, 82);
/* oklch */ color: oklch(43.8% 0.018 357.4);
Tailwind
colors: {
  custom: {
    50: '#897f82',
    500: '#5b4e52',
    950: '#000000',
  },
}
SCSS
$custom: #5b4e52;
$custom-light: #897f82;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4e52",
  "rgb": {
    "r": 91,
    "g": 78,
    "b": 82
  },
  "hsl": {
    "h": 341.538,
    "s": 7.692,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43825,
    "c": 0.01839,
    "h": 357.4
  },
  "luminance": 0.08282
}

Semantic roles & 50–950 ramp

primary
#5B4E52
secondary
#7C8985
accent
#B19F77
background
#F8F7F7
surface
#F0EEEE
border
#CBC9C9
text
#0B0A0A
muted
#7C7C7C

Preview Lab

Preview with #5B4E52

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#5B4E52 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva