#5A4E53#5A4E53

#5A4E53 is a dark, near-neutral grey. Relative luminance 0.082; OKLCH L 43.8% C 0.018 H 350.8°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#5A4E53
RGBrgb(90, 78, 83)
HSLhsl(335, 7%, 33%)
HSVhsv(335, 13%, 35%)
CMYKcmyk(0%, 13.3%, 7.8%, 64.7%)
CIE-LABlab(34.49, 5.97, -1.10)
CIE-LCHlch(34.49, 6.08, 349.52°)
OKLaboklab(43.76% 0.0175 -0.0028)
OKLCHoklch(43.76% 0.018 350.8)
XYZxyz(8.5020, 8.2471, 9.3259)
Luminance0.0825 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4E53 #4E5A55
analogous
#5A4E59 #5A4E53 #5A4F4E
triadic
#5A4E53 #535A4E #4E535A
tetradic
#5A4E53 #595A4E #4E5A55 #4F4E5A
square
#5A4E53 #595A4E #4E5A55 #4F4E5A
split-complementary
#5A4E53 #4E5A4F #4E595A
monochromatic
#181517 #393235 #5A4E53 #7B6A71 #998990

Accessibility & contrast

On white

7.93
#5A4E53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#5A4E53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A4E53
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4E53#FFFFFF#000000##FFFFFF
##5A4E531.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5053
Deuteranopia (green-blind)
#525253
Tritanopia (blue-blind)
#5C4E50
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5a4e53;
/* rgb */ color: rgb(90, 78, 83);
/* oklch */ color: oklch(43.8% 0.018 350.8);
Tailwind
colors: {
  custom: {
    50: '#887f83',
    500: '#5a4e53',
    950: '#000000',
  },
}
SCSS
$custom: #5a4e53;
$custom-light: #887f83;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4e53",
  "rgb": {
    "r": 90,
    "g": 78,
    "b": 83
  },
  "hsl": {
    "h": 335,
    "s": 7.143,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43755,
    "c": 0.01775,
    "h": 350.8
  },
  "luminance": 0.08247
}

Semantic roles & 50–950 ramp

primary
#5A4E53
secondary
#7C8883
accent
#B09978
background
#F8F7F8
surface
#EFEEEF
border
#CAC9CA
text
#0B0A0A
muted
#7C7C7C

Preview Lab

Preview with #5A4E53

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

Preview Lab → · Contrast checker → · Palette generator →

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