#5E1317#5E1317

#5E1317 is a dark, moderate red. Relative luminance 0.029; OKLCH L 32.1% C 0.107 H 23.0°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#5E1317
RGBrgb(94, 19, 23)
HSLhsl(357, 66%, 22%)
HSVhsv(357, 80%, 37%)
CMYKcmyk(0%, 79.8%, 75.5%, 63.1%)
CIE-LABlab(19.67, 33.64, 18.16)
CIE-LCHlch(19.67, 38.23, 28.36°)
OKLaboklab(32.06% 0.0984 0.0418)
OKLCHoklch(32.06% 0.107 23)
XYZxyz(5.0042, 2.9081, 1.1083)
Luminance0.0291 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1317 #135E5A
analogous
#5E133D #5E1317 #5E3513
triadic
#5E1317 #175E13 #13175E
tetradic
#5E1317 #3D5E13 #135E5A #35135E
square
#5E1317 #3D5E13 #135E5A #35135E
split-complementary
#5E1317 #135E35 #133D5E
monochromatic
#190506 #2B090B #5E1317 #911D23 #C42830

Accessibility & contrast

On white

13.28
#5E1317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#5E1317 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1317
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1317#FFFFFF#000000##FFFFFF
##5E13171.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292516
Deuteranopia (green-blind)
#3C3515
Tritanopia (blue-blind)
#680015
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5e1317;
/* rgb */ color: rgb(94, 19, 23);
/* oklch */ color: oklch(32.1% 0.107 23.0);
Tailwind
colors: {
  custom: {
    50: '#925854',
    500: '#5e1317',
    950: '#000000',
  },
}
SCSS
$custom: #5e1317;
$custom-light: #925854;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1317",
  "rgb": {
    "r": 94,
    "g": 19,
    "b": 23
  },
  "hsl": {
    "h": 356.8,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32055,
    "c": 0.10695,
    "h": 23
  },
  "luminance": 0.02907
}

Semantic roles & 50–950 ramp

primary
#5E1317
secondary
#379691
accent
#E9E03F
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978

Preview Lab

Preview with #5E1317

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

Preview Lab → · Contrast checker → · Palette generator →

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