#5C1917#5C1917

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

Color values

HEX#5C1917
RGBrgb(92, 25, 23)
HSLhsl(2, 60%, 23%)
HSVhsv(2, 75%, 36%)
CMYKcmyk(0%, 72.8%, 75%, 63.9%)
CIE-LABlab(20.18, 30.37, 18.66)
CIE-LCHlch(20.18, 35.64, 31.57°)
OKLaboklab(32.35% 0.0883 0.043)
OKLCHoklch(32.35% 0.098 26)
XYZxyz(4.9164, 3.0331, 1.1370)
Luminance0.0303 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1917 #175A5C
analogous
#5C1738 #5C1917 #5C3B17
triadic
#5C1917 #175C19 #19175C
tetradic
#5C1917 #385C17 #175A5C #3B175C
square
#5C1917 #385C17 #175A5C #3B175C
split-complementary
#5C1917 #175C3B #17385C
monochromatic
#180706 #2B0C0B #5C1917 #8D2623 #BE342F

Accessibility & contrast

On white

13.07
#5C1917 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C1917
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1917#FFFFFF#000000##FFFFFF
##5C19171.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2716
Deuteranopia (green-blind)
#3C3615
Tritanopia (blue-blind)
#660619
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5c1917;
/* rgb */ color: rgb(92, 25, 23);
/* oklch */ color: oklch(32.4% 0.098 26.0);
Tailwind
colors: {
  custom: {
    50: '#905a54',
    500: '#5c1917',
    950: '#000000',
  },
}
SCSS
$custom: #5c1917;
$custom-light: #905a54;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1917",
  "rgb": {
    "r": 92,
    "g": 25,
    "b": 23
  },
  "hsl": {
    "h": 1.739,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32354,
    "c": 0.09827,
    "h": 26
  },
  "luminance": 0.03032
}

Semantic roles & 50–950 ramp

primary
#5C1917
secondary
#3C9093
accent
#DFE345
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978

Preview Lab

Preview with #5C1917

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

Preview Lab → · Contrast checker → · Palette generator →

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