#5D1417#5D1417

#5D1417 is a dark, moderate red. Relative luminance 0.029; OKLCH L 32.0% C 0.105 H 23.4°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#5D1417
RGBrgb(93, 20, 23)
HSLhsl(358, 65%, 22%)
HSVhsv(358, 78%, 36%)
CMYKcmyk(0%, 78.5%, 75.3%, 63.5%)
CIE-LABlab(19.60, 32.90, 18.02)
CIE-LCHlch(19.60, 37.51, 28.71°)
OKLaboklab(31.96% 0.0962 0.0416)
OKLCHoklch(31.96% 0.105 23.4)
XYZxyz(4.9196, 2.8901, 1.1092)
Luminance0.0289 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1417 #145D5A
analogous
#5D143C #5D1417 #5D3614
triadic
#5D1417 #175D14 #14175D
tetradic
#5D1417 #3C5D14 #145D5A #36145D
square
#5D1417 #3C5D14 #145D5A #36145D
split-complementary
#5D1417 #145D36 #143C5D
monochromatic
#190506 #2B090B #5D1417 #8F1F23 #C22A30

Accessibility & contrast

On white

13.31
#5D1417 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D1417
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1417#FFFFFF#000000##FFFFFF
##5D14171.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292516
Deuteranopia (green-blind)
#3B3515
Tritanopia (blue-blind)
#670016
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5d1417;
/* rgb */ color: rgb(93, 20, 23);
/* oklch */ color: oklch(32.0% 0.105 23.4);
Tailwind
colors: {
  custom: {
    50: '#915854',
    500: '#5d1417',
    950: '#000000',
  },
}
SCSS
$custom: #5d1417;
$custom-light: #915854;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1417",
  "rgb": {
    "r": 93,
    "g": 20,
    "b": 23
  },
  "hsl": {
    "h": 357.534,
    "s": 64.602,
    "l": 22.157
  },
  "oklch": {
    "l": 0.31961,
    "c": 0.10481,
    "h": 23.4
  },
  "luminance": 0.02889
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D1417

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

Preview Lab → · Contrast checker → · Palette generator →

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