#5B4E4E#5B4E4E

#5B4E4E is a dark, near-neutral grey. Relative luminance 0.082; OKLCH L 43.7% C 0.017 H 17.8°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#5B4E4E
RGBrgb(91, 78, 78)
HSLhsl(0, 8%, 33%)
HSVhsv(0, 14%, 36%)
CMYKcmyk(0%, 14.3%, 14.3%, 64.3%)
CIE-LABlab(34.44, 5.41, 2.00)
CIE-LCHlch(34.44, 5.77, 20.28°)
OKLaboklab(43.69% 0.0166 0.0053)
OKLCHoklch(43.69% 0.017 17.8)
XYZxyz(8.4139, 8.2232, 8.3503)
Luminance0.0822 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4E4E #4E5B5B
analogous
#5B4E54 #5B4E4E #5B544E
triadic
#5B4E4E #4E5B4E #4E4E5B
tetradic
#5B4E4E #545B4E #4E5B5B #544E5B
square
#5B4E4E #545B4E #4E5B5B #544E5B
split-complementary
#5B4E4E #4E5B54 #4E545B
monochromatic
#191616 #3A3232 #5B4E4E #7C6A6A #9A8989

Accessibility & contrast

On white

7.94
#5B4E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#5B4E4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B4E4E
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4E4E#FFFFFF#000000##FFFFFF
##5B4E4E1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50504E
Deuteranopia (green-blind)
#53524E
Tritanopia (blue-blind)
#5E4D4E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5b4e4e;
/* rgb */ color: rgb(91, 78, 78);
/* oklch */ color: oklch(43.7% 0.017 17.8);
Tailwind
colors: {
  custom: {
    50: '#897f7f',
    500: '#5b4e4e',
    950: '#000000',
  },
}
SCSS
$custom: #5b4e4e;
$custom-light: #897f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4e4e",
  "rgb": {
    "r": 91,
    "g": 78,
    "b": 78
  },
  "hsl": {
    "h": 0,
    "s": 7.692,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43691,
    "c": 0.01743,
    "h": 17.8
  },
  "luminance": 0.08223
}

Semantic roles & 50–950 ramp

primary
#5B4E4E
secondary
#7C8989
accent
#B1B177
background
#F8F7F7
surface
#F0EEEE
border
#CBC9C9
text
#0B0A0A
muted
#7C7C7C

Preview Lab

Preview with #5B4E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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