#5E1D0D#5E1D0D

#5E1D0D is a dark, moderate red. Relative luminance 0.033; OKLCH L 33.1% C 0.099 H 34.9°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#5E1D0D
RGBrgb(94, 29, 13)
HSLhsl(12, 76%, 21%)
HSVhsv(12, 86%, 37%)
CMYKcmyk(0%, 69.1%, 86.2%, 63.1%)
CIE-LABlab(21.16, 28.76, 25.83)
CIE-LCHlch(21.16, 38.65, 41.93°)
OKLaboklab(33.13% 0.0808 0.0563)
OKLCHoklch(33.13% 0.099 34.9)
XYZxyz(5.1287, 3.2882, 0.7453)
Luminance0.0329 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1D0D #0D4E5E
analogous
#5E0D25 #5E1D0D #5E450D
triadic
#5E1D0D #0D5E1D #1D0D5E
tetradic
#5E1D0D #255E0D #0D4E5E #450D5E
square
#5E1D0D #255E0D #0D4E5E #450D5E
split-complementary
#5E1D0D #0D5E45 #0D255E
monochromatic
#1B0804 #280C06 #5E1D0D #942E14 #CA3E1C

Accessibility & contrast

On white

12.67
#5E1D0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#5E1D0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1D0D
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1D0D#FFFFFF#000000##FFFFFF
##5E1D0D1.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A0B
Deuteranopia (green-blind)
#40380A
Tritanopia (blue-blind)
#680B1A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5e1d0d;
/* rgb */ color: rgb(94, 29, 13);
/* oklch */ color: oklch(33.1% 0.099 34.9);
Tailwind
colors: {
  custom: {
    50: '#925d4d',
    500: '#5e1d0d',
    950: '#000000',
  },
}
SCSS
$custom: #5e1d0d;
$custom-light: #925d4d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1d0d",
  "rgb": {
    "r": 94,
    "g": 29,
    "b": 13
  },
  "hsl": {
    "h": 11.852,
    "s": 75.701,
    "l": 20.98
  },
  "oklch": {
    "l": 0.3313,
    "c": 0.0985,
    "h": 34.9
  },
  "luminance": 0.03287
}

Semantic roles & 50–950 ramp

primary
#5E1D0D
secondary
#2F8398
accent
#CDF236
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977

Preview Lab

Preview with #5E1D0D

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

Preview Lab → · Contrast checker → · Palette generator →

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