#5A585E#5A585E

#5A585E is a mid, near-neutral grey. Relative luminance 0.100; OKLCH L 46.4% C 0.010 H 301.1°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#5A585E
RGBrgb(90, 88, 94)
HSLhsl(260, 3%, 36%)
HSVhsv(260, 6%, 37%)
CMYKcmyk(4.3%, 6.4%, 0%, 63.1%)
CIE-LABlab(37.77, 2.09, -3.17)
CIE-LCHlch(37.77, 3.80, 303.37°)
OKLaboklab(46.43% 0.0051 -0.0085)
OKLCHoklch(46.43% 0.01 301.1)
XYZxyz(9.7262, 9.9613, 11.9978)
Luminance0.0996 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A585E #5C5E58
analogous
#58595E #5A585E #5D585E
triadic
#5A585E #5E5A58 #585E5A
tetradic
#5A585E #5E5859 #5C5E58 #585E5D
square
#5A585E #5E5859 #5C5E58 #585E5D
split-complementary
#5A585E #5E5D58 #595E58
monochromatic
#1D1D1F #3C3A3E #5A585E #78767E #97959C

Accessibility & contrast

On white

7.02
#5A585E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#5A585E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A585E
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A585E#FFFFFF#000000##FFFFFF
##5A585E1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57595E
Deuteranopia (green-blind)
#57595E
Tritanopia (blue-blind)
#59595A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5a585e;
/* rgb */ color: rgb(90, 88, 94);
/* oklch */ color: oklch(46.4% 0.010 301.1);
Tailwind
colors: {
  custom: {
    50: '#88878b',
    500: '#5a585e',
    950: '#000000',
  },
}
SCSS
$custom: #5a585e;
$custom-light: #88878b;
$custom-dark: #000000;
JSON
{
  "hex": "#5a585e",
  "rgb": {
    "r": 90,
    "g": 88,
    "b": 94
  },
  "hsl": {
    "h": 260,
    "s": 3.297,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46434,
    "c": 0.00988,
    "h": 301.1
  },
  "luminance": 0.09961
}

Semantic roles & 50–950 ramp

primary
#5A585E
secondary
#8A8C86
accent
#AC7B9C
background
#F8F8F8
surface
#EFEFF0
border
#CACACB
text
#0B0B0C
muted
#7C7C7D

Preview Lab

Preview with #5A585E

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

Preview Lab → · Contrast checker → · Palette generator →

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