#5B1413#5B1413

#5B1413 is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.5% C 0.103 H 26.0°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#5B1413
RGBrgb(91, 20, 19)
HSLhsl(1, 65%, 22%)
HSVhsv(1, 79%, 36%)
CMYKcmyk(0%, 78%, 79.1%, 64.3%)
CIE-LABlab(19.11, 31.97, 20.01)
CIE-LCHlch(19.11, 37.71, 32.04°)
OKLaboklab(31.5% 0.0926 0.0452)
OKLCHoklch(31.5% 0.103 26)
XYZxyz(4.6826, 2.7722, 0.9045)
Luminance0.0277 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1413 #135A5B
analogous
#5B1336 #5B1413 #5B3813
triadic
#5B1413 #135B14 #14135B
tetradic
#5B1413 #365B13 #135A5B #38135B
square
#5B1413 #365B13 #135A5B #38135B
split-complementary
#5B1413 #135B38 #13365B
monochromatic
#190605 #280908 #5B1413 #8E1F1E #C02A28

Accessibility & contrast

On white

13.51
#5B1413 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#5B1413 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1413
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1413#FFFFFF#000000##FFFFFF
##5B14131.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292512
Deuteranopia (green-blind)
#3A3410
Tritanopia (blue-blind)
#650015
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5b1413;
/* rgb */ color: rgb(91, 20, 19);
/* oklch */ color: oklch(31.5% 0.103 26.0);
Tailwind
colors: {
  custom: {
    50: '#905850',
    500: '#5b1413',
    950: '#000000',
  },
}
SCSS
$custom: #5b1413;
$custom-light: #905850;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1413",
  "rgb": {
    "r": 91,
    "g": 20,
    "b": 19
  },
  "hsl": {
    "h": 0.833,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31497,
    "c": 0.10303,
    "h": 26
  },
  "luminance": 0.02771
}

Semantic roles & 50–950 ramp

primary
#5B1413
secondary
#379293
accent
#E6E83F
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5B1413

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

Preview Lab → · Contrast checker → · Palette generator →

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