#5E1B0D#5E1B0D

#5E1B0D is a dark, moderate red. Relative luminance 0.032; OKLCH L 32.9% C 0.101 H 33.5°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#5E1B0D
RGBrgb(94, 27, 13)
HSLhsl(10, 76%, 21%)
HSVhsv(10, 86%, 37%)
CMYKcmyk(0%, 71.3%, 86.2%, 63.1%)
CIE-LABlab(20.80, 29.73, 25.43)
CIE-LCHlch(20.80, 39.12, 40.55°)
OKLaboklab(32.86% 0.0838 0.0555)
OKLCHoklch(32.86% 0.101 33.5)
XYZxyz(5.0813, 3.1934, 0.7295)
Luminance0.0319 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1B0D #0D505E
analogous
#5E0D27 #5E1B0D #5E430D
triadic
#5E1B0D #0D5E1B #1B0D5E
tetradic
#5E1B0D #275E0D #0D505E #430D5E
square
#5E1B0D #275E0D #0D505E #430D5E
split-complementary
#5E1B0D #0D5E43 #0D275E
monochromatic
#1B0804 #280C06 #5E1B0D #942A14 #CA3A1C

Accessibility & contrast

On white

12.82
#5E1B0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#5E1B0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1B0D
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1B0D#FFFFFF#000000##FFFFFF
##5E1B0D1.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E290B
Deuteranopia (green-blind)
#3F380A
Tritanopia (blue-blind)
#680718
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5e1b0d;
/* rgb */ color: rgb(94, 27, 13);
/* oklch */ color: oklch(32.9% 0.101 33.5);
Tailwind
colors: {
  custom: {
    50: '#925b4d',
    500: '#5e1b0d',
    950: '#000000',
  },
}
SCSS
$custom: #5e1b0d;
$custom-light: #925b4d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1b0d",
  "rgb": {
    "r": 94,
    "g": 27,
    "b": 13
  },
  "hsl": {
    "h": 10.37,
    "s": 75.701,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32859,
    "c": 0.10055,
    "h": 33.5
  },
  "luminance": 0.03193
}

Semantic roles & 50–950 ramp

primary
#5E1B0D
secondary
#2F8698
accent
#D2F236
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977

Preview Lab

Preview with #5E1B0D

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

Preview Lab → · Contrast checker → · Palette generator →

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