#5B111C#5B111C

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

Color values

HEX#5B111C
RGBrgb(91, 17, 28)
HSLhsl(351, 69%, 21%)
HSVhsv(351, 81%, 36%)
CMYKcmyk(0%, 81.3%, 69.2%, 64.3%)
CIE-LABlab(18.84, 33.67, 13.52)
CIE-LCHlch(18.84, 36.28, 21.88°)
OKLaboklab(31.35% 0.1002 0.0324)
OKLCHoklch(31.35% 0.105 17.9)
XYZxyz(4.7249, 2.7096, 1.3726)
Luminance0.0271 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B111C #115B50
analogous
#5B1141 #5B111C #5B2B11
triadic
#5B111C #1C5B11 #111C5B
tetradic
#5B111C #415B11 #115B50 #2B115B
square
#5B111C #415B11 #115B50 #2B115B
split-complementary
#5B111C #115B2B #11415B
monochromatic
#1A0508 #27070C #5B111C #8F1B2C #C2243C

Accessibility & contrast

On white

13.62
#5B111C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B111C
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B111C#FFFFFF#000000##FFFFFF
##5B111C1.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b111c;
/* rgb */ color: rgb(91, 17, 28);
/* oklch */ color: oklch(31.4% 0.105 17.9);
Tailwind
colors: {
  custom: {
    50: '#8f5657',
    500: '#5b111c',
    950: '#000000',
  },
}
SCSS
$custom: #5b111c;
$custom-light: #8f5657;
$custom-dark: #000000;
JSON
{
  "hex": "#5b111c",
  "rgb": {
    "r": 91,
    "g": 17,
    "b": 28
  },
  "hsl": {
    "h": 351.081,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.3135,
    "c": 0.10528,
    "h": 17.9
  },
  "luminance": 0.02709
}

Semantic roles & 50–950 ramp

primary
#5B111C
secondary
#349486
accent
#EBD13C
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0303
muted
#7E7878

Preview Lab

Preview with #5B111C

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

Preview Lab → · Contrast checker → · Palette generator →

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