#5B101B#5B101B

#5B101B is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.2% C 0.106 H 18.3°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#5B101B
RGBrgb(91, 16, 27)
HSLhsl(351, 70%, 21%)
HSVhsv(351, 82%, 36%)
CMYKcmyk(0%, 82.4%, 70.3%, 64.3%)
CIE-LABlab(18.69, 33.97, 14.03)
CIE-LCHlch(18.69, 36.75, 22.45°)
OKLaboklab(31.23% 0.1009 0.0334)
OKLCHoklch(31.23% 0.106 18.3)
XYZxyz(4.6980, 2.6746, 1.3056)
Luminance0.0267 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B101B #105B50
analogous
#5B1040 #5B101B #5B2A10
triadic
#5B101B #1B5B10 #101B5B
tetradic
#5B101B #405B10 #105B50 #2A105B
square
#5B101B #405B10 #105B50 #2A105B
split-complementary
#5B101B #105B2A #10405B
monochromatic
#1A0508 #27070C #5B101B #8F192A #C3223A

Accessibility & contrast

On white

13.68
#5B101B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#5B101B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B101B
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B101B#FFFFFF#000000##FFFFFF
##5B101B1.0013.681.5313.68
#FFFFFF13.681.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b101b;
/* rgb */ color: rgb(91, 16, 27);
/* oklch */ color: oklch(31.2% 0.106 18.3);
Tailwind
colors: {
  custom: {
    50: '#8f5657',
    500: '#5b101b',
    950: '#000000',
  },
}
SCSS
$custom: #5b101b;
$custom-light: #8f5657;
$custom-dark: #000000;
JSON
{
  "hex": "#5b101b",
  "rgb": {
    "r": 91,
    "g": 16,
    "b": 27
  },
  "hsl": {
    "h": 351.2,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31231,
    "c": 0.10629,
    "h": 18.3
  },
  "luminance": 0.02674
}

Semantic roles & 50–950 ramp

primary
#5B101B
secondary
#339486
accent
#EDD33B
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0303
muted
#7E7878

Preview Lab

Preview with #5B101B

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

Preview Lab → · Contrast checker → · Palette generator →

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