#5B1512#5B1512

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

Color values

HEX#5B1512
RGBrgb(91, 21, 18)
HSLhsl(2, 67%, 21%)
HSVhsv(2, 80%, 36%)
CMYKcmyk(0%, 76.9%, 80.2%, 64.3%)
CIE-LABlab(19.25, 31.50, 20.79)
CIE-LCHlch(19.25, 37.74, 33.42°)
OKLaboklab(31.6% 0.0909 0.0467)
OKLCHoklch(31.6% 0.102 27.2)
XYZxyz(4.6923, 2.8049, 0.8665)
Luminance0.0280 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1512 #12585B
analogous
#5B1234 #5B1512 #5B3A12
triadic
#5B1512 #125B15 #15125B
tetradic
#5B1512 #345B12 #12585B #3A125B
square
#5B1512 #345B12 #12585B #3A125B
split-complementary
#5B1512 #125B3A #12345B
monochromatic
#1A0605 #280908 #5B1512 #8E211C #C12D26

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B1512#FFFFFF#000000##FFFFFF
##5B15121.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)
#292511
Deuteranopia (green-blind)
#3B340F
Tritanopia (blue-blind)
#650015
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5b1512;
/* rgb */ color: rgb(91, 21, 18);
/* oklch */ color: oklch(31.6% 0.102 27.2);
Tailwind
colors: {
  custom: {
    50: '#905850',
    500: '#5b1512',
    950: '#000000',
  },
}
SCSS
$custom: #5b1512;
$custom-light: #905850;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1512",
  "rgb": {
    "r": 91,
    "g": 21,
    "b": 18
  },
  "hsl": {
    "h": 2.466,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31595,
    "c": 0.10218,
    "h": 27.2
  },
  "luminance": 0.02804
}

Semantic roles & 50–950 ramp

primary
#5B1512
secondary
#359093
accent
#E3EA3E
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5B1512

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

Preview Lab → · Contrast checker → · Palette generator →

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