#5A4E56#5A4E56

#5A4E56 is a dark, muted grey. Relative luminance 0.083; OKLCH L 43.9% C 0.020 H 338.2°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#5A4E56
RGBrgb(90, 78, 86)
HSLhsl(320, 7%, 33%)
HSVhsv(320, 13%, 35%)
CMYKcmyk(0%, 13.3%, 4.4%, 64.7%)
CIE-LABlab(34.59, 6.59, -2.86)
CIE-LCHlch(34.59, 7.18, 336.54°)
OKLaboklab(43.86% 0.0188 -0.0075)
OKLCHoklch(43.86% 0.02 338.2)
XYZxyz(8.6204, 8.2945, 9.9492)
Luminance0.0829 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4E56 #4E5A52
analogous
#584E5A #5A4E56 #5A4E50
triadic
#5A4E56 #565A4E #4E565A
tetradic
#5A4E56 #5A584E #4E5A52 #4E505A
square
#5A4E56 #5A584E #4E5A52 #4E505A
split-complementary
#5A4E56 #505A4E #4E5A58
monochromatic
#181517 #393237 #5A4E56 #7B6A75 #998994

Accessibility & contrast

On white

7.90
#5A4E56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A4E56
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4E56#FFFFFF#000000##FFFFFF
##5A4E561.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5056
Deuteranopia (green-blind)
#515256
Tritanopia (blue-blind)
#5C4E51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5a4e56;
/* rgb */ color: rgb(90, 78, 86);
/* oklch */ color: oklch(43.9% 0.020 338.2);
Tailwind
colors: {
  custom: {
    50: '#887f85',
    500: '#5a4e56',
    950: '#000000',
  },
}
SCSS
$custom: #5a4e56;
$custom-light: #887f85;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4e56",
  "rgb": {
    "r": 90,
    "g": 78,
    "b": 86
  },
  "hsl": {
    "h": 320,
    "s": 7.143,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43862,
    "c": 0.02026,
    "h": 338.2
  },
  "luminance": 0.08294
}

Semantic roles & 50–950 ramp

primary
#5A4E56
secondary
#7C8880
accent
#B08A78
background
#F8F7F8
surface
#EFEEEF
border
#CAC9CA
text
#0B0A0B
muted
#7C7C7C

Preview Lab

Preview with #5A4E56

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

Preview Lab → · Contrast checker → · Palette generator →

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