#5B1311#5B1311

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

Color values

HEX#5B1311
RGBrgb(91, 19, 17)
HSLhsl(2, 69%, 21%)
HSVhsv(2, 81%, 36%)
CMYKcmyk(0%, 79.1%, 81.3%, 64.3%)
CIE-LABlab(18.93, 32.28, 21.02)
CIE-LCHlch(18.93, 38.52, 33.07°)
OKLaboklab(31.36% 0.0931 0.0471)
OKLCHoklch(31.36% 0.104 26.8)
XYZxyz(4.6490, 2.7311, 0.8126)
Luminance0.0273 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1311 #11595B
analogous
#5B1134 #5B1311 #5B3811
triadic
#5B1311 #115B13 #13115B
tetradic
#5B1311 #345B11 #11595B #38115B
square
#5B1311 #345B11 #11595B #38115B
split-complementary
#5B1311 #115B38 #11345B
monochromatic
#1A0505 #270807 #5B1311 #8F1E1B #C22924

Accessibility & contrast

On white

13.58
#5B1311 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B1311
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1311#FFFFFF#000000##FFFFFF
##5B13111.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282410
Deuteranopia (green-blind)
#3A340E
Tritanopia (blue-blind)
#650013
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5b1311;
/* rgb */ color: rgb(91, 19, 17);
/* oklch */ color: oklch(31.4% 0.104 26.8);
Tailwind
colors: {
  custom: {
    50: '#90574f',
    500: '#5b1311',
    950: '#000000',
  },
}
SCSS
$custom: #5b1311;
$custom-light: #90574f;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1311",
  "rgb": {
    "r": 91,
    "g": 19,
    "b": 17
  },
  "hsl": {
    "h": 1.622,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31359,
    "c": 0.10433,
    "h": 26.8
  },
  "luminance": 0.0273
}

Semantic roles & 50–950 ramp

primary
#5B1311
secondary
#349194
accent
#E7EB3C
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5B1311

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

Preview Lab → · Contrast checker → · Palette generator →

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