#5C1317#5C1317

#5C1317 is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.7% C 0.105 H 22.8°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#5C1317
RGBrgb(92, 19, 23)
HSLhsl(357, 66%, 22%)
HSVhsv(357, 79%, 36%)
CMYKcmyk(0%, 79.3%, 75%, 63.9%)
CIE-LABlab(19.24, 32.94, 17.54)
CIE-LCHlch(19.24, 37.32, 28.03°)
OKLaboklab(31.66% 0.0965 0.0406)
OKLCHoklch(31.66% 0.105 22.8)
XYZxyz(4.8017, 2.8036, 1.0988)
Luminance0.0280 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1317 #135C58
analogous
#5C133C #5C1317 #5C3413
triadic
#5C1317 #175C13 #13175C
tetradic
#5C1317 #3C5C13 #135C58 #34135C
square
#5C1317 #3C5C13 #135C58 #34135C
split-complementary
#5C1317 #135C34 #133C5C
monochromatic
#190506 #29090A #5C1317 #8F1D24 #C12830

Accessibility & contrast

On white

13.46
#5C1317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#5C1317 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1317
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1317#FFFFFF#000000##FFFFFF
##5C13171.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282516
Deuteranopia (green-blind)
#3A3415
Tritanopia (blue-blind)
#660015
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5c1317;
/* rgb */ color: rgb(92, 19, 23);
/* oklch */ color: oklch(31.7% 0.105 22.8);
Tailwind
colors: {
  custom: {
    50: '#905753',
    500: '#5c1317',
    950: '#000000',
  },
}
SCSS
$custom: #5c1317;
$custom-light: #905753;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1317",
  "rgb": {
    "r": 92,
    "g": 19,
    "b": 23
  },
  "hsl": {
    "h": 356.712,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31655,
    "c": 0.10468,
    "h": 22.8
  },
  "luminance": 0.02803
}

Semantic roles & 50–950 ramp

primary
#5C1317
secondary
#37948F
accent
#E9DF3F
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5C1317

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

Preview Lab → · Contrast checker → · Palette generator →

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