#5A4046#5A4046

#5A4046 is a dark, muted red. Relative luminance 0.063; OKLCH L 40.2% C 0.037 H 3.6°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#5A4046
RGBrgb(90, 64, 70)
HSLhsl(346, 17%, 30%)
HSVhsv(346, 29%, 35%)
CMYKcmyk(0%, 28.9%, 22.2%, 64.7%)
CIE-LABlab(30.12, 12.35, 0.83)
CIE-LCHlch(30.12, 12.38, 3.85°)
OKLaboklab(40.23% 0.0372 0.0024)
OKLCHoklch(40.23% 0.037 3.6)
XYZxyz(7.1554, 6.2830, 6.6290)
Luminance0.0628 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4046 #405A54
analogous
#5A4053 #5A4046 #5A4740
triadic
#5A4046 #465A40 #40465A
tetradic
#5A4046 #535A40 #405A54 #47405A
square
#5A4046 #535A40 #405A54 #47405A
split-complementary
#5A4046 #405A47 #40535A
monochromatic
#120D0E #36272A #5A4046 #7E5962 #9E7680

Accessibility & contrast

On white

9.31
#5A4046 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#5A4046 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A4046
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4046#FFFFFF#000000##FFFFFF
##5A40461.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444446
Deuteranopia (green-blind)
#4A4945
Tritanopia (blue-blind)
#5F3E42
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5a4046;
/* rgb */ color: rgb(90, 64, 70);
/* oklch */ color: oklch(40.2% 0.037 3.6);
Tailwind
colors: {
  custom: {
    50: '#897579',
    500: '#5a4046',
    950: '#000000',
  },
}
SCSS
$custom: #5a4046;
$custom-light: #897579;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4046",
  "rgb": {
    "r": 90,
    "g": 64,
    "b": 70
  },
  "hsl": {
    "h": 346.154,
    "s": 16.883,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40228,
    "c": 0.03728,
    "h": 3.6
  },
  "luminance": 0.06283
}

Semantic roles & 50–950 ramp

primary
#5A4046
secondary
#6C8983
accent
#BAA86E
background
#F8F7F7
surface
#F0EDED
border
#CBC8C8
text
#0B0809
muted
#7C7B7B

Preview Lab

Preview with #5A4046

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

Preview Lab → · Contrast checker → · Palette generator →

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