#5A4E59#5A4E59

#5A4E59 is a dark, muted grey. Relative luminance 0.083; OKLCH L 44.0% C 0.024 H 328.6°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#5A4E59
RGBrgb(90, 78, 89)
HSLhsl(305, 7%, 33%)
HSVhsv(305, 13%, 35%)
CMYKcmyk(0%, 13.3%, 1.1%, 64.7%)
CIE-LABlab(34.69, 7.23, -4.61)
CIE-LCHlch(34.69, 8.57, 327.48°)
OKLaboklab(43.97% 0.0201 -0.0122)
OKLCHoklch(43.97% 0.024 328.6)
XYZxyz(8.7438, 8.3438, 10.5992)
Luminance0.0834 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4E59 #4E5A4F
analogous
#554E5A #5A4E59 #5A4E53
triadic
#5A4E59 #595A4E #4E595A
tetradic
#5A4E59 #5A554E #4E5A4F #4E535A
square
#5A4E59 #5A554E #4E5A4F #4E535A
split-complementary
#5A4E59 #535A4E #4E5A55
monochromatic
#181518 #393239 #5A4E59 #7B6A79 #998998

Accessibility & contrast

On white

7.87
#5A4E59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A4E59
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4E59#FFFFFF#000000##FFFFFF
##5A4E591.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5159
Deuteranopia (green-blind)
#505259
Tritanopia (blue-blind)
#5B4F52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5a4e59;
/* rgb */ color: rgb(90, 78, 89);
/* oklch */ color: oklch(44.0% 0.024 328.6);
Tailwind
colors: {
  custom: {
    50: '#887f87',
    500: '#5a4e59',
    950: '#000000',
  },
}
SCSS
$custom: #5a4e59;
$custom-light: #887f87;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4e59",
  "rgb": {
    "r": 90,
    "g": 78,
    "b": 89
  },
  "hsl": {
    "h": 305,
    "s": 7.143,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43973,
    "c": 0.02352,
    "h": 328.6
  },
  "luminance": 0.08344
}

Semantic roles & 50–950 ramp

primary
#5A4E59
secondary
#7C887D
accent
#B07C78
background
#F8F7F8
surface
#EFEEEF
border
#CAC9CA
text
#0B0A0B
muted
#7C7C7C

Preview Lab

Preview with #5A4E59

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

Preview Lab → · Contrast checker → · Palette generator →

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