#5A584E#5A584E

#5A584E is a mid, near-neutral grey. Relative luminance 0.097; OKLCH L 45.9% C 0.016 H 97.7°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#5A584E
RGBrgb(90, 88, 78)
HSLhsl(50, 7%, 33%)
HSVhsv(50, 13%, 35%)
CMYKcmyk(0%, 2.2%, 13.3%, 64.7%)
CIE-LABlab(37.30, -1.18, 6.09)
CIE-LCHlch(37.30, 6.20, 100.97°)
OKLaboklab(45.91% -0.0021 0.0158)
OKLCHoklch(45.91% 0.016 97.7)
XYZxyz(9.0812, 9.7033, 8.6008)
Luminance0.0970 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A584E #4E505A
analogous
#5A524E #5A584E #565A4E
triadic
#5A584E #4E5A58 #584E5A
tetradic
#5A584E #4E5A52 #4E505A #5A4E56
square
#5A584E #4E5A52 #4E505A #5A4E56
split-complementary
#5A584E #4E565A #524E5A
monochromatic
#181815 #393832 #5A584E #7B786A #999689

Accessibility & contrast

On white

7.14
#5A584E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#5A584E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A584E
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A584E#FFFFFF#000000##FFFFFF
##5A584E1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A574D
Deuteranopia (green-blind)
#5B584E
Tritanopia (blue-blind)
#5C5655
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5a584e;
/* rgb */ color: rgb(90, 88, 78);
/* oklch */ color: oklch(45.9% 0.016 97.7);
Tailwind
colors: {
  custom: {
    50: '#88877f',
    500: '#5a584e',
    950: '#000000',
  },
}
SCSS
$custom: #5a584e;
$custom-light: #88877f;
$custom-dark: #000000;
JSON
{
  "hex": "#5a584e",
  "rgb": {
    "r": 90,
    "g": 88,
    "b": 78
  },
  "hsl": {
    "h": 50,
    "s": 7.143,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45911,
    "c": 0.01598,
    "h": 97.7
  },
  "luminance": 0.09703
}

Semantic roles & 50–950 ramp

primary
#5A584E
secondary
#7C7E88
accent
#81B078
background
#F8F8F7
surface
#EFEFEE
border
#CACAC9
text
#0B0B0A
muted
#7C7C7C

Preview Lab

Preview with #5A584E

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

Preview Lab → · Contrast checker → · Palette generator →

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