#5A605E#5A605E

#5A605E is a mid, near-neutral grey. Relative luminance 0.113; OKLCH L 48.3% C 0.008 H 174.1°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#5A605E
RGBrgb(90, 96, 94)
HSLhsl(160, 3%, 36%)
HSVhsv(160, 6%, 38%)
CMYKcmyk(6.2%, 0%, 2.1%, 62.4%)
CIE-LABlab(40.16, -2.77, 0.33)
CIE-LCHlch(40.16, 2.79, 173.17°)
OKLaboklab(48.31% -0.0081 0.0008)
OKLCHoklch(48.31% 0.008 174.1)
XYZxyz(10.4193, 11.3475, 12.2289)
Luminance0.1135 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A605E #605A5C
analogous
#5A605B #5A605E #5A5F60
triadic
#5A605E #5E5A60 #605E5A
tetradic
#5A605E #5B5A60 #605A5C #5F605A
square
#5A605E #5B5A60 #605A5C #5F605A
split-complementary
#5A605E #605A5F #605B5A
monochromatic
#1F2120 #3C403F #5A605E #78807D #979D9B

Accessibility & contrast

On white

6.42
#5A605E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#5A605E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A605E
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A605E#FFFFFF#000000##FFFFFF
##5A605E1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605F5E
Deuteranopia (green-blind)
#5E5E5E
Tritanopia (blue-blind)
#59605F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5a605e;
/* rgb */ color: rgb(90, 96, 94);
/* oklch */ color: oklch(48.3% 0.008 174.1);
Tailwind
colors: {
  custom: {
    50: '#888d8b',
    500: '#5a605e',
    950: '#000000',
  },
}
SCSS
$custom: #5a605e;
$custom-light: #888d8b;
$custom-dark: #000000;
JSON
{
  "hex": "#5a605e",
  "rgb": {
    "r": 90,
    "g": 96,
    "b": 94
  },
  "hsl": {
    "h": 160,
    "s": 3.226,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4831,
    "c": 0.00814,
    "h": 174.1
  },
  "luminance": 0.11348
}

Semantic roles & 50–950 ramp

primary
#5A605E
secondary
#8E888A
accent
#7B8CAC
background
#F8F8F8
surface
#EFF0F0
border
#CACBCB
text
#0B0C0C
muted
#7C7D7D

Preview Lab

Preview with #5A605E

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

Preview Lab → · Contrast checker → · Palette generator →

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