#5E1E12#5E1E12

#5E1E12 is a dark, moderate red. Relative luminance 0.034; OKLCH L 33.3% C 0.096 H 32.7°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#5E1E12
RGBrgb(94, 30, 18)
HSLhsl(9, 68%, 22%)
HSVhsv(9, 81%, 37%)
CMYKcmyk(0%, 68.1%, 80.9%, 63.1%)
CIE-LABlab(21.40, 28.47, 23.37)
CIE-LCHlch(21.40, 36.83, 39.39°)
OKLaboklab(33.33% 0.081 0.052)
OKLCHoklch(33.33% 0.096 32.7)
XYZxyz(5.1901, 3.3526, 0.9460)
Luminance0.0335 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1E12 #12525E
analogous
#5E122C #5E1E12 #5E4412
triadic
#5E1E12 #125E1E #1E125E
tetradic
#5E1E12 #2C5E12 #12525E #44125E
square
#5E1E12 #2C5E12 #12525E #44125E
split-complementary
#5E1E12 #125E44 #122C5E
monochromatic
#1A0805 #2B0E08 #5E1E12 #912E1C #C53F26

Accessibility & contrast

On white

12.57
#5E1E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#5E1E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1E12
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1E12#FFFFFF#000000##FFFFFF
##5E1E121.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A10
Deuteranopia (green-blind)
#403910
Tritanopia (blue-blind)
#680D1C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5e1e12;
/* rgb */ color: rgb(94, 30, 18);
/* oklch */ color: oklch(33.3% 0.096 32.7);
Tailwind
colors: {
  custom: {
    50: '#925d50',
    500: '#5e1e12',
    950: '#000000',
  },
}
SCSS
$custom: #5e1e12;
$custom-light: #925d50;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1e12",
  "rgb": {
    "r": 94,
    "g": 30,
    "b": 18
  },
  "hsl": {
    "h": 9.474,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33329,
    "c": 0.09624,
    "h": 32.7
  },
  "luminance": 0.03352
}

Semantic roles & 50–950 ramp

primary
#5E1E12
secondary
#358796
accent
#CFEB3D
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978

Preview Lab

Preview with #5E1E12

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

Preview Lab → · Contrast checker → · Palette generator →

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