#5A4E4D#5A4E4D

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

Color values

HEX#5A4E4D
RGBrgb(90, 78, 77)
HSLhsl(5, 8%, 33%)
HSVhsv(5, 14%, 35%)
CMYKcmyk(0%, 13.3%, 14.4%, 64.7%)
CIE-LABlab(34.31, 4.80, 2.43)
CIE-LCHlch(34.31, 5.37, 26.84°)
OKLaboklab(43.55% 0.0148 0.0065)
OKLCHoklch(43.55% 0.016 23.5)
XYZxyz(8.2803, 8.1585, 8.1583)
Luminance0.0816 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4E4D #4D595A
analogous
#5A4D52 #5A4E4D #5A544D
triadic
#5A4E4D #4D5A4E #4E4D5A
tetradic
#5A4E4D #525A4D #4D595A #544D5A
square
#5A4E4D #525A4D #4D595A #544D5A
split-complementary
#5A4E4D #4D5A54 #4D525A
monochromatic
#181515 #393131 #5A4E4D #7B6B69 #998988

Accessibility & contrast

On white

7.98
#5A4E4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#5A4E4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A4E4D
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4E4D#FFFFFF#000000##FFFFFF
##5A4E4D1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504F4D
Deuteranopia (green-blind)
#53524D
Tritanopia (blue-blind)
#5D4D4E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5a4e4d;
/* rgb */ color: rgb(90, 78, 77);
/* oklch */ color: oklch(43.6% 0.016 23.5);
Tailwind
colors: {
  custom: {
    50: '#887f7e',
    500: '#5a4e4d',
    950: '#000000',
  },
}
SCSS
$custom: #5a4e4d;
$custom-light: #887f7e;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4e4d",
  "rgb": {
    "r": 90,
    "g": 78,
    "b": 77
  },
  "hsl": {
    "h": 4.615,
    "s": 7.784,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43553,
    "c": 0.01618,
    "h": 23.5
  },
  "luminance": 0.08158
}

Semantic roles & 50–950 ramp

primary
#5A4E4D
secondary
#7B8788
accent
#ACB177
background
#F8F7F7
surface
#F0EEEE
border
#CBC9C9
text
#0B0A0A
muted
#7C7C7C

Preview Lab

Preview with #5A4E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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