#5E1B0F#5E1B0F

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

Color values

HEX#5E1B0F
RGBrgb(94, 27, 15)
HSLhsl(9, 72%, 21%)
HSVhsv(9, 84%, 37%)
CMYKcmyk(0%, 71.3%, 84%, 63.1%)
CIE-LABlab(20.82, 29.80, 24.44)
CIE-LCHlch(20.82, 38.55, 39.36°)
OKLaboklab(32.88% 0.0845 0.0537)
OKLCHoklch(32.88% 0.1 32.4)
XYZxyz(5.0948, 3.1988, 0.8010)
Luminance0.0320 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1B0F #0F525E
analogous
#5E0F2B #5E1B0F #5E430F
triadic
#5E1B0F #0F5E1B #1B0F5E
tetradic
#5E1B0F #2B5E0F #0F525E #430F5E
square
#5E1B0F #2B5E0F #0F525E #430F5E
split-complementary
#5E1B0F #0F5E43 #0F2B5E
monochromatic
#1A0804 #290C07 #5E1B0F #932A17 #C83920

Accessibility & contrast

On white

12.81
#5E1B0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1B0F
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1B0F#FFFFFF#000000##FFFFFF
##5E1B0F1.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E290D
Deuteranopia (green-blind)
#3F380C
Tritanopia (blue-blind)
#680719
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5e1b0f;
/* rgb */ color: rgb(94, 27, 15);
/* oklch */ color: oklch(32.9% 0.100 32.4);
Tailwind
colors: {
  custom: {
    50: '#925b4e',
    500: '#5e1b0f',
    950: '#000000',
  },
}
SCSS
$custom: #5e1b0f;
$custom-light: #925b4e;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1b0f",
  "rgb": {
    "r": 94,
    "g": 27,
    "b": 15
  },
  "hsl": {
    "h": 9.114,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32881,
    "c": 0.10012,
    "h": 32.4
  },
  "luminance": 0.03198
}

Semantic roles & 50–950 ramp

primary
#5E1B0F
secondary
#318897
accent
#D3EF39
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977

Preview Lab

Preview with #5E1B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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