#5C1318#5C1318

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

Color values

HEX#5C1318
RGBrgb(92, 19, 24)
HSLhsl(356, 66%, 22%)
HSVhsv(356, 79%, 36%)
CMYKcmyk(0%, 79.3%, 73.9%, 63.9%)
CIE-LABlab(19.26, 33.00, 16.87)
CIE-LCHlch(19.26, 37.06, 27.08°)
OKLaboklab(31.67% 0.0969 0.0393)
OKLCHoklch(31.67% 0.105 22.1)
XYZxyz(4.8119, 2.8077, 1.1525)
Luminance0.0281 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1318 #135C57
analogous
#5C133D #5C1318 #5C3313
triadic
#5C1318 #185C13 #13185C
tetradic
#5C1318 #3D5C13 #135C57 #33135C
square
#5C1318 #3D5C13 #135C57 #33135C
split-complementary
#5C1318 #135C33 #133D5C
monochromatic
#190507 #29090B #5C1318 #8F1D25 #C12832

Accessibility & contrast

On white

13.45
#5C1318 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C1318
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1318#FFFFFF#000000##FFFFFF
##5C13181.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282518
Deuteranopia (green-blind)
#3A3416
Tritanopia (blue-blind)
#660016
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5c1318;
/* rgb */ color: rgb(92, 19, 24);
/* oklch */ color: oklch(31.7% 0.105 22.1);
Tailwind
colors: {
  custom: {
    50: '#905754',
    500: '#5c1318',
    950: '#000000',
  },
}
SCSS
$custom: #5c1318;
$custom-light: #905754;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1318",
  "rgb": {
    "r": 92,
    "g": 19,
    "b": 24
  },
  "hsl": {
    "h": 355.89,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31673,
    "c": 0.10459,
    "h": 22.1
  },
  "luminance": 0.02807
}

Semantic roles & 50–950 ramp

primary
#5C1318
secondary
#37948E
accent
#E9DD3F
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5C1318

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

Preview Lab → · Contrast checker → · Palette generator →

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