#5A4E50#5A4E50

#5A4E50 is a dark, near-neutral grey. Relative luminance 0.082; OKLCH L 43.7% C 0.016 H 6.4°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#5A4E50
RGBrgb(90, 78, 80)
HSLhsl(350, 7%, 33%)
HSVhsv(350, 13%, 35%)
CMYKcmyk(0%, 13.3%, 11.1%, 64.7%)
CIE-LABlab(34.40, 5.38, 0.66)
CIE-LCHlch(34.40, 5.42, 6.98°)
OKLaboklab(43.65% 0.0162 0.0018)
OKLCHoklch(43.65% 0.016 6.4)
XYZxyz(8.3887, 8.2018, 8.7291)
Luminance0.0820 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4E50 #4E5A58
analogous
#5A4E56 #5A4E50 #5A524E
triadic
#5A4E50 #505A4E #4E505A
tetradic
#5A4E50 #565A4E #4E5A58 #524E5A
square
#5A4E50 #565A4E #4E5A58 #524E5A
split-complementary
#5A4E50 #4E5A52 #4E565A
monochromatic
#181516 #393233 #5A4E50 #7B6A6D #99898C

Accessibility & contrast

On white

7.95
#5A4E50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#5A4E50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A4E50
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4E50#FFFFFF#000000##FFFFFF
##5A4E501.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505050
Deuteranopia (green-blind)
#525250
Tritanopia (blue-blind)
#5C4D4F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5a4e50;
/* rgb */ color: rgb(90, 78, 80);
/* oklch */ color: oklch(43.7% 0.016 6.4);
Tailwind
colors: {
  custom: {
    50: '#887f81',
    500: '#5a4e50',
    950: '#000000',
  },
}
SCSS
$custom: #5a4e50;
$custom-light: #887f81;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4e50",
  "rgb": {
    "r": 90,
    "g": 78,
    "b": 80
  },
  "hsl": {
    "h": 350,
    "s": 7.143,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43652,
    "c": 0.0163,
    "h": 6.4
  },
  "luminance": 0.08202
}

Semantic roles & 50–950 ramp

primary
#5A4E50
secondary
#7C8886
accent
#B0A778
background
#F8F7F7
surface
#EFEEEE
border
#CAC9C9
text
#0B0A0A
muted
#7C7C7C

Preview Lab

Preview with #5A4E50

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

Preview Lab → · Contrast checker → · Palette generator →

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