#5B4F4E#5B4F4E

#5B4F4E is a dark, near-neutral grey. Relative luminance 0.084; OKLCH L 43.9% C 0.016 H 23.5°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#5B4F4E
RGBrgb(91, 79, 78)
HSLhsl(5, 8%, 33%)
HSVhsv(5, 14%, 36%)
CMYKcmyk(0%, 13.2%, 14.3%, 64.3%)
CIE-LABlab(34.73, 4.78, 2.42)
CIE-LCHlch(34.73, 5.36, 26.84°)
OKLaboklab(43.92% 0.0148 0.0064)
OKLCHoklch(43.92% 0.016 23.5)
XYZxyz(8.4854, 8.3664, 8.3741)
Luminance0.0837 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4F4E #4E5A5B
analogous
#5B4E53 #5B4F4E #5B554E
triadic
#5B4F4E #4E5B4F #4F4E5B
tetradic
#5B4F4E #535B4E #4E5A5B #554E5B
square
#5B4F4E #535B4E #4E5A5B #554E5B
split-complementary
#5B4F4E #4E5B55 #4E535B
monochromatic
#191616 #3A3232 #5B4F4E #7C6C6A #9A8B89

Accessibility & contrast

On white

7.86
#5B4F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#5B4F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B4F4E
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4F4E#FFFFFF#000000##FFFFFF
##5B4F4E1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51504E
Deuteranopia (green-blind)
#54534E
Tritanopia (blue-blind)
#5E4E4F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5b4f4e;
/* rgb */ color: rgb(91, 79, 78);
/* oklch */ color: oklch(43.9% 0.016 23.5);
Tailwind
colors: {
  custom: {
    50: '#89807f',
    500: '#5b4f4e',
    950: '#000000',
  },
}
SCSS
$custom: #5b4f4e;
$custom-light: #89807f;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4f4e",
  "rgb": {
    "r": 91,
    "g": 79,
    "b": 78
  },
  "hsl": {
    "h": 4.615,
    "s": 7.692,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43918,
    "c": 0.01615,
    "h": 23.5
  },
  "luminance": 0.08366
}

Semantic roles & 50–950 ramp

primary
#5B4F4E
secondary
#7C8889
accent
#ACB177
background
#F8F7F7
surface
#F0EEEE
border
#CBC9C9
text
#0B0A0A
muted
#7C7C7C

Preview Lab

Preview with #5B4F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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