#5C1313#5C1313

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

Color values

HEX#5C1313
RGBrgb(92, 19, 19)
HSLhsl(0, 66%, 22%)
HSVhsv(0, 79%, 36%)
CMYKcmyk(0%, 79.3%, 79.3%, 63.9%)
CIE-LABlab(19.18, 32.73, 20.14)
CIE-LCHlch(19.18, 38.43, 31.61°)
OKLaboklab(31.59% 0.0949 0.0454)
OKLCHoklch(31.59% 0.105 25.6)
XYZxyz(4.7646, 2.7888, 0.9034)
Luminance0.0279 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1313 #135C5C
analogous
#5C1338 #5C1313 #5C3813
triadic
#5C1313 #135C13 #13135C
tetradic
#5C1313 #385C13 #135C5C #38135C
square
#5C1313 #385C13 #135C5C #38135C
split-complementary
#5C1313 #135C38 #13385C
monochromatic
#190505 #290909 #5C1313 #8F1D1D #C12828

Accessibility & contrast

On white

13.48
#5C1313 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C1313
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1313#FFFFFF#000000##FFFFFF
##5C13131.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292412
Deuteranopia (green-blind)
#3B3410
Tritanopia (blue-blind)
#660014
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5c1313;
/* rgb */ color: rgb(92, 19, 19);
/* oklch */ color: oklch(31.6% 0.105 25.6);
Tailwind
colors: {
  custom: {
    50: '#915750',
    500: '#5c1313',
    950: '#000000',
  },
}
SCSS
$custom: #5c1313;
$custom-light: #915750;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1313",
  "rgb": {
    "r": 92,
    "g": 19,
    "b": 19
  },
  "hsl": {
    "h": 0,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31589,
    "c": 0.10517,
    "h": 25.6
  },
  "luminance": 0.02788
}

Semantic roles & 50–950 ramp

primary
#5C1313
secondary
#379494
accent
#E9E93F
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5C1313

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

Preview Lab → · Contrast checker → · Palette generator →

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