#5B1312#5B1312

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

Color values

HEX#5B1312
RGBrgb(91, 19, 18)
HSLhsl(1, 67%, 21%)
HSVhsv(1, 80%, 36%)
CMYKcmyk(0%, 79.1%, 80.2%, 64.3%)
CIE-LABlab(18.95, 32.33, 20.44)
CIE-LCHlch(18.95, 38.25, 32.31°)
OKLaboklab(31.37% 0.0935 0.046)
OKLCHoklch(31.37% 0.104 26.2)
XYZxyz(4.6570, 2.7343, 0.8547)
Luminance0.0273 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1312 #125A5B
analogous
#5B1236 #5B1312 #5B3812
triadic
#5B1312 #125B13 #13125B
tetradic
#5B1312 #365B12 #125A5B #38125B
square
#5B1312 #365B12 #125A5B #38125B
split-complementary
#5B1312 #125B38 #12365B
monochromatic
#1A0505 #280808 #5B1312 #8E1E1C #C12826

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B1312#FFFFFF#000000##FFFFFF
##5B13121.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)
#282411
Deuteranopia (green-blind)
#3A340F
Tritanopia (blue-blind)
#650014
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5b1312;
/* rgb */ color: rgb(91, 19, 18);
/* oklch */ color: oklch(31.4% 0.104 26.2);
Tailwind
colors: {
  custom: {
    50: '#905750',
    500: '#5b1312',
    950: '#000000',
  },
}
SCSS
$custom: #5b1312;
$custom-light: #905750;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1312",
  "rgb": {
    "r": 91,
    "g": 19,
    "b": 18
  },
  "hsl": {
    "h": 0.822,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31373,
    "c": 0.10417,
    "h": 26.2
  },
  "luminance": 0.02734
}

Semantic roles & 50–950 ramp

primary
#5B1312
secondary
#359293
accent
#E8EA3E
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5B1312

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

Preview Lab → · Contrast checker → · Palette generator →

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