#5E1A12#5E1A12

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

Color values

HEX#5E1A12
RGBrgb(94, 26, 18)
HSLhsl(6, 68%, 22%)
HSVhsv(6, 81%, 37%)
CMYKcmyk(0%, 72.3%, 80.9%, 63.1%)
CIE-LABlab(20.68, 30.40, 22.58)
CIE-LCHlch(20.68, 37.87, 36.60°)
OKLaboklab(32.79% 0.087 0.0503)
OKLCHoklch(32.79% 0.101 30)
XYZxyz(5.0952, 3.1629, 0.9144)
Luminance0.0316 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1A12 #12565E
analogous
#5E1230 #5E1A12 #5E4012
triadic
#5E1A12 #125E1A #1A125E
tetradic
#5E1A12 #305E12 #12565E #40125E
square
#5E1A12 #305E12 #12565E #40125E
split-complementary
#5E1A12 #125E40 #12305E
monochromatic
#1A0705 #2B0C08 #5E1A12 #91281C #C53626

Accessibility & contrast

On white

12.86
#5E1A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#5E1A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1A12
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1A12#FFFFFF#000000##FFFFFF
##5E1A121.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2811
Deuteranopia (green-blind)
#3E3710
Tritanopia (blue-blind)
#680619
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5e1a12;
/* rgb */ color: rgb(94, 26, 18);
/* oklch */ color: oklch(32.8% 0.101 30.0);
Tailwind
colors: {
  custom: {
    50: '#925b50',
    500: '#5e1a12',
    950: '#000000',
  },
}
SCSS
$custom: #5e1a12;
$custom-light: #925b50;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1a12",
  "rgb": {
    "r": 94,
    "g": 26,
    "b": 18
  },
  "hsl": {
    "h": 6.316,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32788,
    "c": 0.10053,
    "h": 30
  },
  "luminance": 0.03162
}

Semantic roles & 50–950 ramp

primary
#5E1A12
secondary
#358C96
accent
#D8EB3D
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978

Preview Lab

Preview with #5E1A12

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

Preview Lab → · Contrast checker → · Palette generator →

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