#5B1318#5B1318

#5B1318 is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.5% C 0.103 H 21.9°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#5B1318
RGBrgb(91, 19, 24)
HSLhsl(356, 65%, 22%)
HSVhsv(356, 79%, 36%)
CMYKcmyk(0%, 79.1%, 73.6%, 64.3%)
CIE-LABlab(19.04, 32.65, 16.56)
CIE-LCHlch(19.04, 36.61, 26.90°)
OKLaboklab(31.47% 0.096 0.0386)
OKLCHoklch(31.47% 0.103 21.9)
XYZxyz(4.7126, 2.7565, 1.1479)
Luminance0.0276 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1318 #135B56
analogous
#5B133C #5B1318 #5B3213
triadic
#5B1318 #185B13 #13185B
tetradic
#5B1318 #3C5B13 #135B56 #32135B
square
#5B1318 #3C5B13 #135B56 #32135B
split-complementary
#5B1318 #135B32 #133C5B
monochromatic
#190507 #28080B #5B1318 #8E1E25 #C02833

Accessibility & contrast

On white

13.54
#5B1318 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B1318
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1318#FFFFFF#000000##FFFFFF
##5B13181.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b1318;
/* rgb */ color: rgb(91, 19, 24);
/* oklch */ color: oklch(31.5% 0.103 21.9);
Tailwind
colors: {
  custom: {
    50: '#8f5754',
    500: '#5b1318',
    950: '#000000',
  },
}
SCSS
$custom: #5b1318;
$custom-light: #8f5754;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1318",
  "rgb": {
    "r": 91,
    "g": 19,
    "b": 24
  },
  "hsl": {
    "h": 355.833,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31474,
    "c": 0.10345,
    "h": 21.9
  },
  "luminance": 0.02756
}

Semantic roles & 50–950 ramp

primary
#5B1318
secondary
#37938D
accent
#E8DD3F
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5B1318

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

Preview Lab → · Contrast checker → · Palette generator →

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