#5B1118#5B1118

#5B1118 is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.3% C 0.105 H 21.1°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#5B1118
RGBrgb(91, 17, 24)
HSLhsl(354, 69%, 21%)
HSVhsv(354, 81%, 36%)
CMYKcmyk(0%, 81.3%, 73.6%, 64.3%)
CIE-LABlab(18.76, 33.42, 16.22)
CIE-LCHlch(18.76, 37.15, 25.89°)
OKLaboklab(31.27% 0.0984 0.0379)
OKLCHoklch(31.27% 0.105 21.1)
XYZxyz(4.6802, 2.6917, 1.1371)
Luminance0.0269 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1118 #115B54
analogous
#5B113D #5B1118 #5B2F11
triadic
#5B1118 #185B11 #11185B
tetradic
#5B1118 #3D5B11 #115B54 #2F115B
square
#5B1118 #3D5B11 #115B54 #2F115B
split-complementary
#5B1118 #115B2F #113D5B
monochromatic
#1A0507 #27070A #5B1118 #8F1B26 #C22433

Accessibility & contrast

On white

13.65
#5B1118 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#5B1118 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1118
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1118#FFFFFF#000000##FFFFFF
##5B11181.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272418
Deuteranopia (green-blind)
#393316
Tritanopia (blue-blind)
#650014
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5b1118;
/* rgb */ color: rgb(91, 17, 24);
/* oklch */ color: oklch(31.3% 0.105 21.1);
Tailwind
colors: {
  custom: {
    50: '#905654',
    500: '#5b1118',
    950: '#000000',
  },
}
SCSS
$custom: #5b1118;
$custom-light: #905654;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1118",
  "rgb": {
    "r": 91,
    "g": 17,
    "b": 24
  },
  "hsl": {
    "h": 354.324,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31268,
    "c": 0.10546,
    "h": 21.1
  },
  "luminance": 0.02691
}

Semantic roles & 50–950 ramp

primary
#5B1118
secondary
#34948B
accent
#EBDB3C
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5B1118

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

Preview Lab → · Contrast checker → · Palette generator →

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