#5E1D12#5E1D12

#5E1D12 is a dark, moderate red. Relative luminance 0.033; OKLCH L 33.2% C 0.097 H 32.0°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#5E1D12
RGBrgb(94, 29, 18)
HSLhsl(9, 68%, 22%)
HSVhsv(9, 81%, 37%)
CMYKcmyk(0%, 69.1%, 80.9%, 63.1%)
CIE-LABlab(21.22, 28.97, 23.17)
CIE-LCHlch(21.22, 37.09, 38.66°)
OKLaboklab(33.19% 0.0825 0.0516)
OKLCHoklch(33.19% 0.097 32)
XYZxyz(5.1652, 3.3028, 0.9377)
Luminance0.0330 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1D12 #12535E
analogous
#5E122D #5E1D12 #5E4312
triadic
#5E1D12 #125E1D #1D125E
tetradic
#5E1D12 #2D5E12 #12535E #43125E
square
#5E1D12 #2D5E12 #12535E #43125E
split-complementary
#5E1D12 #125E43 #122D5E
monochromatic
#1A0805 #2B0D08 #5E1D12 #912D1C #C53D26

Accessibility & contrast

On white

12.65
#5E1D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1D12
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1D12#FFFFFF#000000##FFFFFF
##5E1D121.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2A10
Deuteranopia (green-blind)
#3F3810
Tritanopia (blue-blind)
#680C1B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5e1d12;
/* rgb */ color: rgb(94, 29, 18);
/* oklch */ color: oklch(33.2% 0.097 32.0);
Tailwind
colors: {
  custom: {
    50: '#925d50',
    500: '#5e1d12',
    950: '#000000',
  },
}
SCSS
$custom: #5e1d12;
$custom-light: #925d50;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1d12",
  "rgb": {
    "r": 94,
    "g": 29,
    "b": 18
  },
  "hsl": {
    "h": 8.684,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33189,
    "c": 0.09732,
    "h": 32
  },
  "luminance": 0.03302
}

Semantic roles & 50–950 ramp

primary
#5E1D12
secondary
#358896
accent
#D2EB3D
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978

Preview Lab

Preview with #5E1D12

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

Preview Lab → · Contrast checker → · Palette generator →

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