#5E1017#5E1017

#5E1017 is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.8% C 0.110 H 21.8°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#5E1017
RGBrgb(94, 16, 23)
HSLhsl(355, 71%, 22%)
HSVhsv(355, 83%, 37%)
CMYKcmyk(0%, 83%, 75.5%, 63.1%)
CIE-LABlab(19.28, 34.74, 17.69)
CIE-LCHlch(19.28, 38.99, 26.98°)
OKLaboklab(31.76% 0.1019 0.0408)
OKLCHoklch(31.76% 0.11 21.8)
XYZxyz(4.9566, 2.8129, 1.0924)
Luminance0.0281 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1017 #105E57
analogous
#5E103E #5E1017 #5E3010
triadic
#5E1017 #175E10 #10175E
tetradic
#5E1017 #3E5E10 #105E57 #30105E
square
#5E1017 #3E5E10 #105E57 #30105E
split-complementary
#5E1017 #105E30 #103E5E
monochromatic
#1A0406 #2A070A #5E1017 #921924 #C72231

Accessibility & contrast

On white

13.44
#5E1017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#5E1017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1017
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1017#FFFFFF#000000##FFFFFF
##5E10171.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272417
Deuteranopia (green-blind)
#3B3514
Tritanopia (blue-blind)
#680013
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5e1017;
/* rgb */ color: rgb(94, 16, 23);
/* oklch */ color: oklch(31.8% 0.110 21.8);
Tailwind
colors: {
  custom: {
    50: '#925653',
    500: '#5e1017',
    950: '#000000',
  },
}
SCSS
$custom: #5e1017;
$custom-light: #925653;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1017",
  "rgb": {
    "r": 94,
    "g": 16,
    "b": 23
  },
  "hsl": {
    "h": 354.615,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31762,
    "c": 0.10979,
    "h": 21.8
  },
  "luminance": 0.02812
}

Semantic roles & 50–950 ramp

primary
#5E1017
secondary
#33978E
accent
#EEDE3A
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5E1017

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

Preview Lab → · Contrast checker → · Palette generator →

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