#5C1918#5C1918

#5C1918 is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.4% C 0.098 H 25.2°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#5C1918
RGBrgb(92, 25, 24)
HSLhsl(1, 59%, 23%)
HSVhsv(1, 74%, 36%)
CMYKcmyk(0%, 72.8%, 73.9%, 63.9%)
CIE-LABlab(20.19, 30.43, 18.01)
CIE-LCHlch(20.19, 35.35, 30.62°)
OKLaboklab(32.37% 0.0888 0.0418)
OKLCHoklch(32.37% 0.098 25.2)
XYZxyz(4.9267, 3.0372, 1.1908)
Luminance0.0304 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1918 #185B5C
analogous
#5C1839 #5C1918 #5C3B18
triadic
#5C1918 #185C19 #19185C
tetradic
#5C1918 #395C18 #185B5C #3B185C
square
#5C1918 #395C18 #185B5C #3B185C
split-complementary
#5C1918 #185C3B #18395C
monochromatic
#180706 #2B0C0B #5C1918 #8D2625 #BD3331

Accessibility & contrast

On white

13.06
#5C1918 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#5C1918 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1918
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1918#FFFFFF#000000##FFFFFF
##5C19181.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2817
Deuteranopia (green-blind)
#3C3616
Tritanopia (blue-blind)
#660719
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5c1918;
/* rgb */ color: rgb(92, 25, 24);
/* oklch */ color: oklch(32.4% 0.098 25.2);
Tailwind
colors: {
  custom: {
    50: '#905a54',
    500: '#5c1918',
    950: '#000000',
  },
}
SCSS
$custom: #5c1918;
$custom-light: #905a54;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1918",
  "rgb": {
    "r": 92,
    "g": 25,
    "b": 24
  },
  "hsl": {
    "h": 0.882,
    "s": 58.621,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32371,
    "c": 0.09811,
    "h": 25.2
  },
  "luminance": 0.03037
}

Semantic roles & 50–950 ramp

primary
#5C1918
secondary
#3D9193
accent
#E0E246
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978

Preview Lab

Preview with #5C1918

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

Preview Lab → · Contrast checker → · Palette generator →

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