#5B111A#5B111A

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

Color values

HEX#5B111A
RGBrgb(91, 17, 26)
HSLhsl(353, 69%, 21%)
HSVhsv(353, 81%, 36%)
CMYKcmyk(0%, 81.3%, 71.4%, 64.3%)
CIE-LABlab(18.80, 33.54, 14.88)
CIE-LCHlch(18.80, 36.69, 23.92°)
OKLaboklab(31.31% 0.0993 0.0352)
OKLCHoklch(31.31% 0.105 19.5)
XYZxyz(4.7018, 2.7003, 1.2507)
Luminance0.0270 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B111A #115B52
analogous
#5B113F #5B111A #5B2D11
triadic
#5B111A #1A5B11 #111A5B
tetradic
#5B111A #3F5B11 #115B52 #2D115B
square
#5B111A #3F5B11 #115B52 #2D115B
split-complementary
#5B111A #115B2D #113F5B
monochromatic
#1A0507 #27070B #5B111A #8F1B29 #C22437

Accessibility & contrast

On white

13.64
#5B111A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B111A
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B111A#FFFFFF#000000##FFFFFF
##5B111A1.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b111a;
/* rgb */ color: rgb(91, 17, 26);
/* oklch */ color: oklch(31.3% 0.105 19.5);
Tailwind
colors: {
  custom: {
    50: '#8f5656',
    500: '#5b111a',
    950: '#000000',
  },
}
SCSS
$custom: #5b111a;
$custom-light: #8f5656;
$custom-dark: #000000;
JSON
{
  "hex": "#5b111a",
  "rgb": {
    "r": 91,
    "g": 17,
    "b": 26
  },
  "hsl": {
    "h": 352.703,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31307,
    "c": 0.10534,
    "h": 19.5
  },
  "luminance": 0.027
}

Semantic roles & 50–950 ramp

primary
#5B111A
secondary
#349488
accent
#EBD63C
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0303
muted
#7E7878

Preview Lab

Preview with #5B111A

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

Preview Lab → · Contrast checker → · Palette generator →

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