#5A4E55#5A4E55

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

Color values

HEX#5A4E55
RGBrgb(90, 78, 85)
HSLhsl(325, 7%, 33%)
HSVhsv(325, 13%, 35%)
CMYKcmyk(0%, 13.3%, 5.6%, 64.7%)
CIE-LABlab(34.56, 6.38, -2.28)
CIE-LCHlch(34.56, 6.78, 340.38°)
OKLaboklab(43.83% 0.0184 -0.006)
OKLCHoklch(43.83% 0.019 342)
XYZxyz(8.5804, 8.2785, 9.7385)
Luminance0.0828 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4E55 #4E5A53
analogous
#594E5A #5A4E55 #5A4E4F
triadic
#5A4E55 #555A4E #4E555A
tetradic
#5A4E55 #5A594E #4E5A53 #4E4F5A
square
#5A4E55 #5A594E #4E5A53 #4E4F5A
split-complementary
#5A4E55 #4F5A4E #4E5A59
monochromatic
#181517 #393236 #5A4E55 #7B6A74 #998993

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A4E55#FFFFFF#000000##FFFFFF
##5A4E551.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)
#4E5055
Deuteranopia (green-blind)
#515255
Tritanopia (blue-blind)
#5C4E50
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5a4e55;
/* rgb */ color: rgb(90, 78, 85);
/* oklch */ color: oklch(43.8% 0.019 342.0);
Tailwind
colors: {
  custom: {
    50: '#887f84',
    500: '#5a4e55',
    950: '#000000',
  },
}
SCSS
$custom: #5a4e55;
$custom-light: #887f84;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4e55",
  "rgb": {
    "r": 90,
    "g": 78,
    "b": 85
  },
  "hsl": {
    "h": 325,
    "s": 7.143,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43826,
    "c": 0.01933,
    "h": 342
  },
  "luminance": 0.08278
}

Semantic roles & 50–950 ramp

primary
#5A4E55
secondary
#7C8881
accent
#B08F78
background
#F8F7F8
surface
#EFEEEF
border
#CAC9CA
text
#0B0A0B
muted
#7C7C7C

Preview Lab

Preview with #5A4E55

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

Preview Lab → · Contrast checker → · Palette generator →

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