#5B403C#5B403C

#5B403C is a dark, muted red. Relative luminance 0.062; OKLCH L 40.0% C 0.039 H 28.4°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#5B403C
RGBrgb(91, 64, 60)
HSLhsl(8, 21%, 30%)
HSVhsv(8, 34%, 36%)
CMYKcmyk(0%, 29.7%, 34.1%, 64.3%)
CIE-LABlab(29.95, 11.14, 7.10)
CIE-LCHlch(29.95, 13.21, 32.53°)
OKLaboklab(40.04% 0.034 0.0184)
OKLCHoklch(40.04% 0.039 28.4)
XYZxyz(6.9636, 6.2176, 5.1074)
Luminance0.0622 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B403C #3C575B
analogous
#5B3C48 #5B403C #5B503C
triadic
#5B403C #3C5B40 #403C5B
tetradic
#5B403C #485B3C #3C575B #503C5B
square
#5B403C #485B3C #3C575B #503C5B
split-complementary
#5B403C #3C5B50 #3C485B
monochromatic
#120D0C #362624 #5B403C #805A54 #A17770

Accessibility & contrast

On white

9.36
#5B403C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#5B403C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B403C
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B403C#FFFFFF#000000##FFFFFF
##5B403C1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46433C
Deuteranopia (green-blind)
#4C493C
Tritanopia (blue-blind)
#613D3F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5b403c;
/* rgb */ color: rgb(91, 64, 60);
/* oklch */ color: oklch(40.0% 0.039 28.4);
Tailwind
colors: {
  custom: {
    50: '#8a7571',
    500: '#5b403c',
    950: '#000000',
  },
}
SCSS
$custom: #5b403c;
$custom-light: #8a7571;
$custom-dark: #000000;
JSON
{
  "hex": "#5b403c",
  "rgb": {
    "r": 91,
    "g": 64,
    "b": 60
  },
  "hsl": {
    "h": 7.742,
    "s": 20.53,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40038,
    "c": 0.03867,
    "h": 28.4
  },
  "luminance": 0.06217
}

Semantic roles & 50–950 ramp

primary
#5B403C
secondary
#68868B
accent
#B2BD6B
background
#F8F7F6
surface
#F0EDEC
border
#CBC8C7
text
#0C0807
muted
#7D7B7A

Preview Lab

Preview with #5B403C

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

Preview Lab → · Contrast checker → · Palette generator →

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