#5B111B#5B111B

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

Color values

HEX#5B111B
RGBrgb(91, 17, 27)
HSLhsl(352, 69%, 21%)
HSVhsv(352, 81%, 36%)
CMYKcmyk(0%, 81.3%, 70.3%, 64.3%)
CIE-LABlab(18.82, 33.60, 14.20)
CIE-LCHlch(18.82, 36.48, 22.91°)
OKLaboklab(31.33% 0.0997 0.0338)
OKLCHoklch(31.33% 0.105 18.7)
XYZxyz(4.7132, 2.7049, 1.3106)
Luminance0.0270 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B111B #115B51
analogous
#5B1140 #5B111B #5B2C11
triadic
#5B111B #1B5B11 #111B5B
tetradic
#5B111B #405B11 #115B51 #2C115B
square
#5B111B #405B11 #115B51 #2C115B
split-complementary
#5B111B #115B2C #11405B
monochromatic
#1A0508 #27070C #5B111B #8F1B2A #C2243A

Accessibility & contrast

On white

13.63
#5B111B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B111B
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B111B#FFFFFF#000000##FFFFFF
##5B111B1.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26241B
Deuteranopia (green-blind)
#393319
Tritanopia (blue-blind)
#650015
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5b111b;
/* rgb */ color: rgb(91, 17, 27);
/* oklch */ color: oklch(31.3% 0.105 18.7);
Tailwind
colors: {
  custom: {
    50: '#8f5657',
    500: '#5b111b',
    950: '#000000',
  },
}
SCSS
$custom: #5b111b;
$custom-light: #8f5657;
$custom-dark: #000000;
JSON
{
  "hex": "#5b111b",
  "rgb": {
    "r": 91,
    "g": 17,
    "b": 27
  },
  "hsl": {
    "h": 351.892,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31328,
    "c": 0.1053,
    "h": 18.7
  },
  "luminance": 0.02704
}

Semantic roles & 50–950 ramp

primary
#5B111B
secondary
#349487
accent
#EBD43C
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0303
muted
#7E7878

Preview Lab

Preview with #5B111B

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

Preview Lab → · Contrast checker → · Palette generator →

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