#5D1317#5D1317

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

Color values

HEX#5D1317
RGBrgb(93, 19, 23)
HSLhsl(357, 66%, 22%)
HSVhsv(357, 80%, 36%)
CMYKcmyk(0%, 79.6%, 75.3%, 63.5%)
CIE-LABlab(19.46, 33.29, 17.85)
CIE-LCHlch(19.46, 37.78, 28.20°)
OKLaboklab(31.86% 0.0975 0.0412)
OKLCHoklch(31.86% 0.106 22.9)
XYZxyz(4.9023, 2.8555, 1.1035)
Luminance0.0285 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1317 #135D59
analogous
#5D133C #5D1317 #5D3413
triadic
#5D1317 #175D13 #13175D
tetradic
#5D1317 #3C5D13 #135D59 #34135D
square
#5D1317 #3C5D13 #135D59 #34135D
split-complementary
#5D1317 #135D34 #133C5D
monochromatic
#190506 #2A090A #5D1317 #901D24 #C32830

Accessibility & contrast

On white

13.37
#5D1317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#5D1317 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1317
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1317#FFFFFF#000000##FFFFFF
##5D13171.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d1317;
/* rgb */ color: rgb(93, 19, 23);
/* oklch */ color: oklch(31.9% 0.106 22.9);
Tailwind
colors: {
  custom: {
    50: '#915853',
    500: '#5d1317',
    950: '#000000',
  },
}
SCSS
$custom: #5d1317;
$custom-light: #915853;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1317",
  "rgb": {
    "r": 93,
    "g": 19,
    "b": 23
  },
  "hsl": {
    "h": 356.757,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31855,
    "c": 0.10582,
    "h": 22.9
  },
  "luminance": 0.02855
}

Semantic roles & 50–950 ramp

primary
#5D1317
secondary
#379590
accent
#E9E03F
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5D1317

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

Preview Lab → · Contrast checker → · Palette generator →

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