#5C171D#5C171D

#5C171D is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.2% C 0.100 H 20.0°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#5C171D
RGBrgb(92, 23, 29)
HSLhsl(355, 60%, 23%)
HSVhsv(355, 75%, 36%)
CMYKcmyk(0%, 75%, 68.5%, 63.9%)
CIE-LABlab(19.95, 31.65, 14.29)
CIE-LCHlch(19.95, 34.73, 24.31°)
OKLaboklab(32.22% 0.0938 0.0342)
OKLCHoklch(32.22% 0.1 20)
XYZxyz(4.9423, 2.9775, 1.4766)
Luminance0.0298 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C171D #175C56
analogous
#5C173F #5C171D #5C3417
triadic
#5C171D #1D5C17 #171D5C
tetradic
#5C171D #3F5C17 #175C56 #34175C
square
#5C171D #3F5C17 #175C56 #34175C
split-complementary
#5C171D #175C34 #173F5C
monochromatic
#180608 #2B0B0E #5C171D #8D232C #BE2F3C

Accessibility & contrast

On white

13.16
#5C171D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C171D
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C171D#FFFFFF#000000##FFFFFF
##5C171D1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A271D
Deuteranopia (green-blind)
#3B361B
Tritanopia (blue-blind)
#66051A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5c171d;
/* rgb */ color: rgb(92, 23, 29);
/* oklch */ color: oklch(32.2% 0.100 20.0);
Tailwind
colors: {
  custom: {
    50: '#905958',
    500: '#5c171d',
    950: '#000000',
  },
}
SCSS
$custom: #5c171d;
$custom-light: #905958;
$custom-dark: #000000;
JSON
{
  "hex": "#5c171d",
  "rgb": {
    "r": 92,
    "g": 23,
    "b": 29
  },
  "hsl": {
    "h": 354.783,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32222,
    "c": 0.09986,
    "h": 20
  },
  "luminance": 0.02977
}

Semantic roles & 50–950 ramp

primary
#5C171D
secondary
#3C938B
accent
#E3D545
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #5C171D

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

Preview Lab → · Contrast checker → · Palette generator →

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