#5A4E58#5A4E58

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

Color values

HEX#5A4E58
RGBrgb(90, 78, 88)
HSLhsl(310, 7%, 33%)
HSVhsv(310, 13%, 35%)
CMYKcmyk(0%, 13.3%, 2.2%, 64.7%)
CIE-LABlab(34.66, 7.01, -4.03)
CIE-LCHlch(34.66, 8.09, 330.14°)
OKLaboklab(43.94% 0.0197 -0.0107)
OKLCHoklch(43.94% 0.022 331.5)
XYZxyz(8.7021, 8.3272, 10.3795)
Luminance0.0833 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4E58 #4E5A50
analogous
#564E5A #5A4E58 #5A4E52
triadic
#5A4E58 #585A4E #4E585A
tetradic
#5A4E58 #5A564E #4E5A50 #4E525A
square
#5A4E58 #5A564E #4E5A50 #4E525A
split-complementary
#5A4E58 #525A4E #4E5A56
monochromatic
#181518 #393238 #5A4E58 #7B6A78 #998996

Accessibility & contrast

On white

7.88
#5A4E58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A4E58
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4E58#FFFFFF#000000##FFFFFF
##5A4E581.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5158
Deuteranopia (green-blind)
#505258
Tritanopia (blue-blind)
#5B4F51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5a4e58;
/* rgb */ color: rgb(90, 78, 88);
/* oklch */ color: oklch(43.9% 0.022 331.5);
Tailwind
colors: {
  custom: {
    50: '#887f87',
    500: '#5a4e58',
    950: '#000000',
  },
}
SCSS
$custom: #5a4e58;
$custom-light: #887f87;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4e58",
  "rgb": {
    "r": 90,
    "g": 78,
    "b": 88
  },
  "hsl": {
    "h": 310,
    "s": 7.143,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43935,
    "c": 0.02237,
    "h": 331.5
  },
  "luminance": 0.08327
}

Semantic roles & 50–950 ramp

primary
#5A4E58
secondary
#7C887E
accent
#B08178
background
#F8F7F8
surface
#EFEEEF
border
#CAC9CA
text
#0B0A0B
muted
#7C7C7C

Preview Lab

Preview with #5A4E58

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

Preview Lab → · Contrast checker → · Palette generator →

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