#5E1417#5E1417

#5E1417 is a dark, moderate red. Relative luminance 0.029; OKLCH L 32.2% C 0.106 H 23.5°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#5E1417
RGBrgb(94, 20, 23)
HSLhsl(358, 65%, 22%)
HSVhsv(358, 79%, 37%)
CMYKcmyk(0%, 78.7%, 75.5%, 63.1%)
CIE-LABlab(19.81, 33.25, 18.33)
CIE-LCHlch(19.81, 37.97, 28.86°)
OKLaboklab(32.16% 0.0972 0.0422)
OKLCHoklch(32.16% 0.106 23.5)
XYZxyz(5.0215, 2.9426, 1.1140)
Luminance0.0294 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1417 #145E5B
analogous
#5E143C #5E1417 #5E3614
triadic
#5E1417 #175E14 #14175E
tetradic
#5E1417 #3C5E14 #145E5B #36145E
square
#5E1417 #3C5E14 #145E5B #36145E
split-complementary
#5E1417 #145E36 #143C5E
monochromatic
#190506 #2C090B #5E1417 #901F23 #C32930

Accessibility & contrast

On white

13.22
#5E1417 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#5E1417 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1417
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1417#FFFFFF#000000##FFFFFF
##5E14171.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292616
Deuteranopia (green-blind)
#3C3615
Tritanopia (blue-blind)
#680016
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5e1417;
/* rgb */ color: rgb(94, 20, 23);
/* oklch */ color: oklch(32.2% 0.106 23.5);
Tailwind
colors: {
  custom: {
    50: '#925854',
    500: '#5e1417',
    950: '#000000',
  },
}
SCSS
$custom: #5e1417;
$custom-light: #925854;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1417",
  "rgb": {
    "r": 94,
    "g": 20,
    "b": 23
  },
  "hsl": {
    "h": 357.568,
    "s": 64.912,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32159,
    "c": 0.10596,
    "h": 23.5
  },
  "luminance": 0.02942
}

Semantic roles & 50–950 ramp

primary
#5E1417
secondary
#389692
accent
#E8E140
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978

Preview Lab

Preview with #5E1417

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

Preview Lab → · Contrast checker → · Palette generator →

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