#5D171C#5D171C

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

Color values

HEX#5D171C
RGBrgb(93, 23, 28)
HSLhsl(356, 60%, 23%)
HSVhsv(356, 75%, 36%)
CMYKcmyk(0%, 75.3%, 69.9%, 63.5%)
CIE-LABlab(20.14, 31.95, 15.27)
CIE-LCHlch(20.14, 35.41, 25.54°)
OKLaboklab(32.4% 0.0944 0.0363)
OKLCHoklch(32.4% 0.101 21)
XYZxyz(5.0307, 3.0245, 1.4173)
Luminance0.0302 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D171C #175D58
analogous
#5D173F #5D171C #5D3517
triadic
#5D171C #1C5D17 #171C5D
tetradic
#5D171C #3F5D17 #175D58 #35175D
square
#5D171C #3F5D17 #175D58 #35175D
split-complementary
#5D171C #175D35 #173F5D
monochromatic
#190607 #2C0B0D #5D171C #8E232B #BF2F3A

Accessibility & contrast

On white

13.09
#5D171C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#5D171C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D171C
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D171C#FFFFFF#000000##FFFFFF
##5D171C1.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A271C
Deuteranopia (green-blind)
#3C361A
Tritanopia (blue-blind)
#670419
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5d171c;
/* rgb */ color: rgb(93, 23, 28);
/* oklch */ color: oklch(32.4% 0.101 21.0);
Tailwind
colors: {
  custom: {
    50: '#905a58',
    500: '#5d171c',
    950: '#000000',
  },
}
SCSS
$custom: #5d171c;
$custom-light: #905a58;
$custom-dark: #000000;
JSON
{
  "hex": "#5d171c",
  "rgb": {
    "r": 93,
    "g": 23,
    "b": 28
  },
  "hsl": {
    "h": 355.714,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32395,
    "c": 0.10111,
    "h": 21
  },
  "luminance": 0.03024
}

Semantic roles & 50–950 ramp

primary
#5D171C
secondary
#3C948E
accent
#E3D844
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978

Preview Lab

Preview with #5D171C

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

Preview Lab → · Contrast checker → · Palette generator →

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