#5C1118#5C1118

#5C1118 is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.5% C 0.107 H 21.2°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#5C1118
RGBrgb(92, 17, 24)
HSLhsl(354, 69%, 21%)
HSVhsv(354, 82%, 36%)
CMYKcmyk(0%, 81.5%, 73.9%, 63.9%)
CIE-LABlab(18.98, 33.76, 16.54)
CIE-LCHlch(18.98, 37.60, 26.10°)
OKLaboklab(31.47% 0.0994 0.0385)
OKLCHoklch(31.47% 0.107 21.2)
XYZxyz(4.7795, 2.7429, 1.1417)
Luminance0.0274 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1118 #115C55
analogous
#5C113E #5C1118 #5C3011
triadic
#5C1118 #185C11 #11185C
tetradic
#5C1118 #3E5C11 #115C55 #30115C
square
#5C1118 #3E5C11 #115C55 #30115C
split-complementary
#5C1118 #115C30 #113E5C
monochromatic
#1A0507 #28070B #5C1118 #901B25 #C32433

Accessibility & contrast

On white

13.56
#5C1118 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#5C1118 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1118
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1118#FFFFFF#000000##FFFFFF
##5C11181.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c1118;
/* rgb */ color: rgb(92, 17, 24);
/* oklch */ color: oklch(31.5% 0.107 21.2);
Tailwind
colors: {
  custom: {
    50: '#905754',
    500: '#5c1118',
    950: '#000000',
  },
}
SCSS
$custom: #5c1118;
$custom-light: #905754;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1118",
  "rgb": {
    "r": 92,
    "g": 17,
    "b": 24
  },
  "hsl": {
    "h": 354.4,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.3147,
    "c": 0.10657,
    "h": 21.2
  },
  "luminance": 0.02742
}

Semantic roles & 50–950 ramp

primary
#5C1118
secondary
#34958C
accent
#ECDB3C
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5C1118

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

Preview Lab → · Contrast checker → · Palette generator →

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