#5B1418#5B1418

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

Color values

HEX#5B1418
RGBrgb(91, 20, 24)
HSLhsl(357, 64%, 22%)
HSVhsv(357, 78%, 36%)
CMYKcmyk(0%, 78%, 73.6%, 64.3%)
CIE-LABlab(19.19, 32.24, 16.74)
CIE-LCHlch(19.19, 36.33, 27.44°)
OKLaboklab(31.58% 0.0947 0.039)
OKLCHoklch(31.58% 0.102 22.4)
XYZxyz(4.7299, 2.7911, 1.1537)
Luminance0.0279 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1418 #145B57
analogous
#5B143C #5B1418 #5B3414
triadic
#5B1418 #185B14 #14185B
tetradic
#5B1418 #3C5B14 #145B57 #34145B
square
#5B1418 #3C5B14 #145B57 #34145B
split-complementary
#5B1418 #145B34 #143C5B
monochromatic
#190607 #29090B #5B1418 #8D1F25 #BF2A32

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B1418#FFFFFF#000000##FFFFFF
##5B14181.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)
#282518
Deuteranopia (green-blind)
#3A3416
Tritanopia (blue-blind)
#650016
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5b1418;
/* rgb */ color: rgb(91, 20, 24);
/* oklch */ color: oklch(31.6% 0.102 22.4);
Tailwind
colors: {
  custom: {
    50: '#8f5854',
    500: '#5b1418',
    950: '#000000',
  },
}
SCSS
$custom: #5b1418;
$custom-light: #8f5854;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1418",
  "rgb": {
    "r": 91,
    "g": 20,
    "b": 24
  },
  "hsl": {
    "h": 356.62,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31582,
    "c": 0.1024,
    "h": 22.4
  },
  "luminance": 0.0279
}

Semantic roles & 50–950 ramp

primary
#5B1418
secondary
#38938E
accent
#E7DE41
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5B1418

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

Preview Lab → · Contrast checker → · Palette generator →

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