#5D171D#5D171D

#5D171D is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.4% C 0.101 H 20.2°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#5D171D
RGBrgb(93, 23, 29)
HSLhsl(355, 60%, 23%)
HSVhsv(355, 75%, 36%)
CMYKcmyk(0%, 75.3%, 68.8%, 63.5%)
CIE-LABlab(20.16, 32.01, 14.60)
CIE-LCHlch(20.16, 35.19, 24.52°)
OKLaboklab(32.42% 0.0948 0.0349)
OKLCHoklch(32.42% 0.101 20.2)
XYZxyz(5.0429, 3.0294, 1.4813)
Luminance0.0303 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D171D #175D57
analogous
#5D1740 #5D171D #5D3417
triadic
#5D171D #1D5D17 #171D5D
tetradic
#5D171D #405D17 #175D57 #34175D
square
#5D171D #405D17 #175D57 #34175D
split-complementary
#5D171D #175D34 #17405D
monochromatic
#190608 #2C0B0E #5D171D #8E232C #BF2F3C

Accessibility & contrast

On white

13.08
#5D171D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#5D171D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D171D
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D171D#FFFFFF#000000##FFFFFF
##5D171D1.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A271D
Deuteranopia (green-blind)
#3C361B
Tritanopia (blue-blind)
#67041A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5d171d;
/* rgb */ color: rgb(93, 23, 29);
/* oklch */ color: oklch(32.4% 0.101 20.2);
Tailwind
colors: {
  custom: {
    50: '#905a58',
    500: '#5d171d',
    950: '#000000',
  },
}
SCSS
$custom: #5d171d;
$custom-light: #905a58;
$custom-dark: #000000;
JSON
{
  "hex": "#5d171d",
  "rgb": {
    "r": 93,
    "g": 23,
    "b": 29
  },
  "hsl": {
    "h": 354.857,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32415,
    "c": 0.10103,
    "h": 20.2
  },
  "luminance": 0.03029
}

Semantic roles & 50–950 ramp

primary
#5D171D
secondary
#3C948C
accent
#E3D644
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978

Preview Lab

Preview with #5D171D

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

Preview Lab → · Contrast checker → · Palette generator →

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