#5E171D#5E171D

#5E171D is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.6% C 0.102 H 20.4°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#5E171D
RGBrgb(94, 23, 29)
HSLhsl(355, 61%, 23%)
HSVhsv(355, 76%, 37%)
CMYKcmyk(0%, 75.5%, 69.1%, 63.1%)
CIE-LABlab(20.37, 32.38, 14.91)
CIE-LCHlch(20.37, 35.64, 24.73°)
OKLaboklab(32.61% 0.0958 0.0355)
OKLCHoklch(32.61% 0.102 20.4)
XYZxyz(5.1448, 3.0819, 1.4861)
Luminance0.0308 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E171D #175E58
analogous
#5E1740 #5E171D #5E3517
triadic
#5E171D #1D5E17 #171D5E
tetradic
#5E171D #405E17 #175E58 #35175E
square
#5E171D #405E17 #175E58 #35175E
split-complementary
#5E171D #175E35 #17405E
monochromatic
#190608 #2D0B0E #5E171D #8F232C #C02F3B

Accessibility & contrast

On white

12.99
#5E171D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#5E171D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E171D
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E171D#FFFFFF#000000##FFFFFF
##5E171D1.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A281D
Deuteranopia (green-blind)
#3C371B
Tritanopia (blue-blind)
#68031A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5e171d;
/* rgb */ color: rgb(94, 23, 29);
/* oklch */ color: oklch(32.6% 0.102 20.4);
Tailwind
colors: {
  custom: {
    50: '#915a58',
    500: '#5e171d',
    950: '#000000',
  },
}
SCSS
$custom: #5e171d;
$custom-light: #915a58;
$custom-dark: #000000;
JSON
{
  "hex": "#5e171d",
  "rgb": {
    "r": 94,
    "g": 23,
    "b": 29
  },
  "hsl": {
    "h": 354.93,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32609,
    "c": 0.1022,
    "h": 20.4
  },
  "luminance": 0.03081
}

Semantic roles & 50–950 ramp

primary
#5E171D
secondary
#3C958D
accent
#E4D644
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978

Preview Lab

Preview with #5E171D

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

Preview Lab → · Contrast checker → · Palette generator →

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