#5C1817#5C1817

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

Color values

HEX#5C1817
RGBrgb(92, 24, 23)
HSLhsl(1, 60%, 23%)
HSVhsv(1, 75%, 36%)
CMYKcmyk(0%, 73.9%, 75%, 63.9%)
CIE-LABlab(20.01, 30.82, 18.46)
CIE-LCHlch(20.01, 35.93, 30.92°)
OKLaboklab(32.23% 0.0898 0.0426)
OKLCHoklch(32.23% 0.099 25.4)
XYZxyz(4.8954, 2.9912, 1.1300)
Luminance0.0299 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1817 #175B5C
analogous
#5C1738 #5C1817 #5C3B17
triadic
#5C1817 #175C18 #18175C
tetradic
#5C1817 #385C17 #175B5C #3B175C
square
#5C1817 #385C17 #175B5C #3B175C
split-complementary
#5C1817 #175C3B #17385C
monochromatic
#180606 #2B0B0B #5C1817 #8D2523 #BE322F

Accessibility & contrast

On white

13.14
#5C1817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C1817
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1817#FFFFFF#000000##FFFFFF
##5C18171.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2716
Deuteranopia (green-blind)
#3C3615
Tritanopia (blue-blind)
#660519
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5c1817;
/* rgb */ color: rgb(92, 24, 23);
/* oklch */ color: oklch(32.2% 0.099 25.4);
Tailwind
colors: {
  custom: {
    50: '#905a54',
    500: '#5c1817',
    950: '#000000',
  },
}
SCSS
$custom: #5c1817;
$custom-light: #905a54;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1817",
  "rgb": {
    "r": 92,
    "g": 24,
    "b": 23
  },
  "hsl": {
    "h": 0.87,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32229,
    "c": 0.09938,
    "h": 25.4
  },
  "luminance": 0.0299
}

Semantic roles & 50–950 ramp

primary
#5C1817
secondary
#3C9293
accent
#E1E345
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978

Preview Lab

Preview with #5C1817

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

Preview Lab → · Contrast checker → · Palette generator →

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