#5B111D#5B111D

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

Color values

HEX#5B111D
RGBrgb(91, 17, 29)
HSLhsl(350, 69%, 21%)
HSVhsv(350, 81%, 36%)
CMYKcmyk(0%, 81.3%, 68.1%, 64.3%)
CIE-LABlab(18.86, 33.74, 12.85)
CIE-LCHlch(18.86, 36.10, 20.85°)
OKLaboklab(31.37% 0.1006 0.0309)
OKLCHoklch(31.37% 0.105 17.1)
XYZxyz(4.7371, 2.7145, 1.4367)
Luminance0.0271 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B111D #115B4F
analogous
#5B1142 #5B111D #5B2A11
triadic
#5B111D #1D5B11 #111D5B
tetradic
#5B111D #425B11 #115B4F #2A115B
square
#5B111D #425B11 #115B4F #2A115B
split-complementary
#5B111D #115B2A #11425B
monochromatic
#1A0508 #27070D #5B111D #8F1B2D #C2243E

Accessibility & contrast

On white

13.61
#5B111D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B111D
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B111D#FFFFFF#000000##FFFFFF
##5B111D1.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26241D
Deuteranopia (green-blind)
#39331B
Tritanopia (blue-blind)
#640016
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5b111d;
/* rgb */ color: rgb(91, 17, 29);
/* oklch */ color: oklch(31.4% 0.105 17.1);
Tailwind
colors: {
  custom: {
    50: '#8f5758',
    500: '#5b111d',
    950: '#000000',
  },
}
SCSS
$custom: #5b111d;
$custom-light: #8f5758;
$custom-dark: #000000;
JSON
{
  "hex": "#5b111d",
  "rgb": {
    "r": 91,
    "g": 17,
    "b": 29
  },
  "hsl": {
    "h": 350.27,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31372,
    "c": 0.10527,
    "h": 17.1
  },
  "luminance": 0.02714
}

Semantic roles & 50–950 ramp

primary
#5B111D
secondary
#349484
accent
#EBCF3C
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0303
muted
#7E7878

Preview Lab

Preview with #5B111D

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

Preview Lab → · Contrast checker → · Palette generator →

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