#5D1118#5D1118

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

Color values

HEX#5D1118
RGBrgb(93, 17, 24)
HSLhsl(354, 69%, 22%)
HSVhsv(354, 82%, 36%)
CMYKcmyk(0%, 81.7%, 74.2%, 63.5%)
CIE-LABlab(19.20, 34.10, 16.86)
CIE-LCHlch(19.20, 38.04, 26.30°)
OKLaboklab(31.67% 0.1003 0.0392)
OKLCHoklch(31.67% 0.108 21.3)
XYZxyz(4.8801, 2.7947, 1.1465)
Luminance0.0279 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1118 #115D56
analogous
#5D113E #5D1118 #5D3011
triadic
#5D1118 #185D11 #11185D
tetradic
#5D1118 #3E5D11 #115D56 #30115D
square
#5D1118 #3E5D11 #115D56 #30115D
split-complementary
#5D1118 #115D30 #113E5D
monochromatic
#1A0507 #29080B #5D1118 #911A25 #C42433

Accessibility & contrast

On white

13.47
#5D1118 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D1118
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1118#FFFFFF#000000##FFFFFF
##5D11181.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d1118;
/* rgb */ color: rgb(93, 17, 24);
/* oklch */ color: oklch(31.7% 0.108 21.3);
Tailwind
colors: {
  custom: {
    50: '#915754',
    500: '#5d1118',
    950: '#000000',
  },
}
SCSS
$custom: #5d1118;
$custom-light: #915754;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1118",
  "rgb": {
    "r": 93,
    "g": 17,
    "b": 24
  },
  "hsl": {
    "h": 354.474,
    "s": 69.091,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31672,
    "c": 0.10768,
    "h": 21.3
  },
  "luminance": 0.02794
}

Semantic roles & 50–950 ramp

primary
#5D1118
secondary
#34968D
accent
#ECDC3C
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5D1118

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

Preview Lab → · Contrast checker → · Palette generator →

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