#5C1312#5C1312

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

Color values

HEX#5C1312
RGBrgb(92, 19, 18)
HSLhsl(1, 67%, 22%)
HSVhsv(1, 80%, 36%)
CMYKcmyk(0%, 79.3%, 80.4%, 63.9%)
CIE-LABlab(19.16, 32.68, 20.75)
CIE-LCHlch(19.16, 38.71, 32.41°)
OKLaboklab(31.57% 0.0945 0.0466)
OKLCHoklch(31.57% 0.105 26.2)
XYZxyz(4.7562, 2.7855, 0.8594)
Luminance0.0278 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1312 #125B5C
analogous
#5C1236 #5C1312 #5C3812
triadic
#5C1312 #125C13 #13125C
tetradic
#5C1312 #365C12 #125B5C #38125C
square
#5C1312 #365C12 #125B5C #38125C
split-complementary
#5C1312 #125C38 #12365C
monochromatic
#1A0505 #290808 #5C1312 #8F1E1C #C22826

Accessibility & contrast

On white

13.49
#5C1312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C1312
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1312#FFFFFF#000000##FFFFFF
##5C13121.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292411
Deuteranopia (green-blind)
#3B340F
Tritanopia (blue-blind)
#660014
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5c1312;
/* rgb */ color: rgb(92, 19, 18);
/* oklch */ color: oklch(31.6% 0.105 26.2);
Tailwind
colors: {
  custom: {
    50: '#915750',
    500: '#5c1312',
    950: '#000000',
  },
}
SCSS
$custom: #5c1312;
$custom-light: #915750;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1312",
  "rgb": {
    "r": 92,
    "g": 19,
    "b": 18
  },
  "hsl": {
    "h": 0.811,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31574,
    "c": 0.10532,
    "h": 26.2
  },
  "luminance": 0.02785
}

Semantic roles & 50–950 ramp

primary
#5C1312
secondary
#359394
accent
#E8EA3E
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5C1312

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

Preview Lab → · Contrast checker → · Palette generator →

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