#5C171E#5C171E

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

Color values

HEX#5C171E
RGBrgb(92, 23, 30)
HSLhsl(354, 60%, 23%)
HSVhsv(354, 75%, 36%)
CMYKcmyk(0%, 75%, 67.4%, 63.9%)
CIE-LABlab(19.97, 31.72, 13.63)
CIE-LCHlch(19.97, 34.53, 23.25°)
OKLaboklab(32.24% 0.0943 0.0328)
OKLCHoklch(32.24% 0.1 19.2)
XYZxyz(4.9549, 2.9825, 1.5428)
Luminance0.0298 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C171E #175C55
analogous
#5C1740 #5C171E #5C3217
triadic
#5C171E #1E5C17 #171E5C
tetradic
#5C171E #405C17 #175C55 #32175C
square
#5C171E #405C17 #175C55 #32175C
split-complementary
#5C171E #175C32 #17405C
monochromatic
#180608 #2B0B0E #5C171E #8D232E #BE2F3E

Accessibility & contrast

On white

13.15
#5C171E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C171E
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C171E#FFFFFF#000000##FFFFFF
##5C171E1.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29271E
Deuteranopia (green-blind)
#3B361C
Tritanopia (blue-blind)
#65051A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5c171e;
/* rgb */ color: rgb(92, 23, 30);
/* oklch */ color: oklch(32.2% 0.100 19.2);
Tailwind
colors: {
  custom: {
    50: '#8f5959',
    500: '#5c171e',
    950: '#000000',
  },
}
SCSS
$custom: #5c171e;
$custom-light: #8f5959;
$custom-dark: #000000;
JSON
{
  "hex": "#5c171e",
  "rgb": {
    "r": 92,
    "g": 23,
    "b": 30
  },
  "hsl": {
    "h": 353.913,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32244,
    "c": 0.0998,
    "h": 19.2
  },
  "luminance": 0.02982
}

Semantic roles & 50–950 ramp

primary
#5C171E
secondary
#3C938A
accent
#E3D345
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #5C171E

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

Preview Lab → · Contrast checker → · Palette generator →

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