#5B111E#5B111E

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

Color values

HEX#5B111E
RGBrgb(91, 17, 30)
HSLhsl(349, 69%, 21%)
HSVhsv(349, 81%, 36%)
CMYKcmyk(0%, 81.3%, 67%, 64.3%)
CIE-LABlab(18.88, 33.81, 12.17)
CIE-LCHlch(18.88, 35.93, 19.80°)
OKLaboklab(31.4% 0.1011 0.0295)
OKLCHoklch(31.4% 0.105 16.3)
XYZxyz(4.7497, 2.7195, 1.5029)
Luminance0.0272 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B111E #115B4E
analogous
#5B1143 #5B111E #5B2911
triadic
#5B111E #1E5B11 #111E5B
tetradic
#5B111E #435B11 #115B4E #29115B
square
#5B111E #435B11 #115B4E #29115B
split-complementary
#5B111E #115B29 #11435B
monochromatic
#1A0509 #27070D #5B111E #8F1B2F #C22440

Accessibility & contrast

On white

13.60
#5B111E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B111E
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B111E#FFFFFF#000000##FFFFFF
##5B111E1.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26241E
Deuteranopia (green-blind)
#39331C
Tritanopia (blue-blind)
#640017
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5b111e;
/* rgb */ color: rgb(91, 17, 30);
/* oklch */ color: oklch(31.4% 0.105 16.3);
Tailwind
colors: {
  custom: {
    50: '#8f5759',
    500: '#5b111e',
    950: '#000000',
  },
}
SCSS
$custom: #5b111e;
$custom-light: #8f5759;
$custom-dark: #000000;
JSON
{
  "hex": "#5b111e",
  "rgb": {
    "r": 91,
    "g": 17,
    "b": 30
  },
  "hsl": {
    "h": 349.459,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31395,
    "c": 0.10528,
    "h": 16.3
  },
  "luminance": 0.02719
}

Semantic roles & 50–950 ramp

primary
#5B111E
secondary
#349483
accent
#EBCD3C
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0303
muted
#7E7878

Preview Lab

Preview with #5B111E

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

Preview Lab → · Contrast checker → · Palette generator →

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