#5B141B#5B141B

#5B141B is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.6% C 0.102 H 20.0°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#5B141B
RGBrgb(91, 20, 27)
HSLhsl(354, 64%, 22%)
HSVhsv(354, 78%, 36%)
CMYKcmyk(0%, 78%, 70.3%, 64.3%)
CIE-LABlab(19.24, 32.43, 14.73)
CIE-LCHlch(19.24, 35.62, 24.43°)
OKLaboklab(31.64% 0.096 0.035)
OKLCHoklch(31.64% 0.102 20)
XYZxyz(4.7629, 2.8043, 1.3272)
Luminance0.0280 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B141B #145B54
analogous
#5B143F #5B141B #5B3114
triadic
#5B141B #1B5B14 #141B5B
tetradic
#5B141B #3F5B14 #145B54 #31145B
square
#5B141B #3F5B14 #145B54 #31145B
split-complementary
#5B141B #145B31 #143F5B
monochromatic
#190607 #29090C #5B141B #8D1F2A #BF2A39

Accessibility & contrast

On white

13.45
#5B141B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#5B141B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B141B
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B141B#FFFFFF#000000##FFFFFF
##5B141B1.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28251B
Deuteranopia (green-blind)
#3A3419
Tritanopia (blue-blind)
#650017
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5b141b;
/* rgb */ color: rgb(91, 20, 27);
/* oklch */ color: oklch(31.6% 0.102 20.0);
Tailwind
colors: {
  custom: {
    50: '#8f5857',
    500: '#5b141b',
    950: '#000000',
  },
}
SCSS
$custom: #5b141b;
$custom-light: #8f5857;
$custom-dark: #000000;
JSON
{
  "hex": "#5b141b",
  "rgb": {
    "r": 91,
    "g": 20,
    "b": 27
  },
  "hsl": {
    "h": 354.085,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31641,
    "c": 0.10216,
    "h": 20
  },
  "luminance": 0.02804
}

Semantic roles & 50–950 ramp

primary
#5B141B
secondary
#38938A
accent
#E7D741
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0303
muted
#7E7878

Preview Lab

Preview with #5B141B

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

Preview Lab → · Contrast checker → · Palette generator →

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