#5A4C4E#5A4C4E

#5A4C4E is a dark, near-neutral red. Relative luminance 0.079; OKLCH L 43.1% C 0.019 H 8.2°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#5A4C4E
RGBrgb(90, 76, 78)
HSLhsl(351, 8%, 33%)
HSVhsv(351, 16%, 35%)
CMYKcmyk(0%, 15.6%, 13.3%, 64.7%)
CIE-LABlab(33.76, 6.24, 0.99)
CIE-LCHlch(33.76, 6.32, 9.04°)
OKLaboklab(43.13% 0.0189 0.0027)
OKLCHoklch(43.13% 0.019 8.2)
XYZxyz(8.1760, 7.8928, 8.2990)
Luminance0.0789 (WCAG relative)
Temperatureneutral
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4C4E #4C5A58
analogous
#5A4C55 #5A4C4E #5A514C
triadic
#5A4C4E #4E5A4C #4C4E5A
tetradic
#5A4C4E #555A4C #4C5A58 #514C5A
square
#5A4C4E #555A4C #4C5A58 #514C5A
split-complementary
#5A4C4E #4C5A51 #4C555A
monochromatic
#181414 #393031 #5A4C4E #7B686B #9A878A

Accessibility & contrast

On white

8.14
#5A4C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#5A4C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A4C4E
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4C4E#FFFFFF#000000##FFFFFF
##5A4C4E1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4E4E
Deuteranopia (green-blind)
#51504E
Tritanopia (blue-blind)
#5D4B4D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5a4c4e;
/* rgb */ color: rgb(90, 76, 78);
/* oklch */ color: oklch(43.1% 0.019 8.2);
Tailwind
colors: {
  custom: {
    50: '#887e7f',
    500: '#5a4c4e',
    950: '#000000',
  },
}
SCSS
$custom: #5a4c4e;
$custom-light: #887e7f;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4c4e",
  "rgb": {
    "r": 90,
    "g": 76,
    "b": 78
  },
  "hsl": {
    "h": 351.429,
    "s": 8.434,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43133,
    "c": 0.01905,
    "h": 8.2
  },
  "luminance": 0.07893
}

Semantic roles & 50–950 ramp

primary
#5A4C4E
secondary
#798886
accent
#B1A976
background
#F8F7F7
surface
#F0EEEE
border
#CBC9C9
text
#0B090A
muted
#7C7B7C

Preview Lab

Preview with #5A4C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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