#5D1917#5D1917

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

Color values

HEX#5D1917
RGBrgb(93, 25, 23)
HSLhsl(2, 60%, 23%)
HSVhsv(2, 75%, 36%)
CMYKcmyk(0%, 73.1%, 75.3%, 63.5%)
CIE-LABlab(20.38, 30.74, 18.95)
CIE-LCHlch(20.38, 36.12, 31.65°)
OKLaboklab(32.55% 0.0894 0.0436)
OKLCHoklch(32.55% 0.099 26)
XYZxyz(5.0170, 3.0850, 1.1417)
Luminance0.0308 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1917 #175B5D
analogous
#5D1738 #5D1917 #5D3C17
triadic
#5D1917 #175D19 #19175D
tetradic
#5D1917 #385D17 #175B5D #3C175D
square
#5D1917 #385D17 #175B5D #3C175D
split-complementary
#5D1917 #175D3C #17385D
monochromatic
#190706 #2C0C0B #5D1917 #8E2623 #BF332F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D1917#FFFFFF#000000##FFFFFF
##5D19171.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)
#2C2816
Deuteranopia (green-blind)
#3D3715
Tritanopia (blue-blind)
#670619
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5d1917;
/* rgb */ color: rgb(93, 25, 23);
/* oklch */ color: oklch(32.5% 0.099 26.0);
Tailwind
colors: {
  custom: {
    50: '#915a54',
    500: '#5d1917',
    950: '#000000',
  },
}
SCSS
$custom: #5d1917;
$custom-light: #915a54;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1917",
  "rgb": {
    "r": 93,
    "g": 25,
    "b": 23
  },
  "hsl": {
    "h": 1.714,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32546,
    "c": 0.09948,
    "h": 26
  },
  "luminance": 0.03084
}

Semantic roles & 50–950 ramp

primary
#5D1917
secondary
#3C9194
accent
#DFE344
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978

Preview Lab

Preview with #5D1917

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

Preview Lab → · Contrast checker → · Palette generator →

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