#5B1412#5B1412

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

Color values

HEX#5B1412
RGBrgb(91, 20, 18)
HSLhsl(2, 67%, 21%)
HSVhsv(2, 80%, 36%)
CMYKcmyk(0%, 78%, 80.2%, 64.3%)
CIE-LABlab(19.09, 31.92, 20.61)
CIE-LCHlch(19.09, 38.00, 32.85°)
OKLaboklab(31.48% 0.0922 0.0463)
OKLCHoklch(31.48% 0.103 26.7)
XYZxyz(4.6743, 2.7688, 0.8605)
Luminance0.0277 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1412 #12595B
analogous
#5B1235 #5B1412 #5B3912
triadic
#5B1412 #125B14 #14125B
tetradic
#5B1412 #355B12 #12595B #39125B
square
#5B1412 #355B12 #12595B #39125B
split-complementary
#5B1412 #125B39 #12355B
monochromatic
#1A0605 #280908 #5B1412 #8E1F1C #C12A26

Accessibility & contrast

On white

13.52
#5B1412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B1412
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1412#FFFFFF#000000##FFFFFF
##5B14121.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292511
Deuteranopia (green-blind)
#3B340F
Tritanopia (blue-blind)
#650014
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5b1412;
/* rgb */ color: rgb(91, 20, 18);
/* oklch */ color: oklch(31.5% 0.103 26.7);
Tailwind
colors: {
  custom: {
    50: '#905850',
    500: '#5b1412',
    950: '#000000',
  },
}
SCSS
$custom: #5b1412;
$custom-light: #905850;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1412",
  "rgb": {
    "r": 91,
    "g": 20,
    "b": 18
  },
  "hsl": {
    "h": 1.644,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31482,
    "c": 0.10318,
    "h": 26.7
  },
  "luminance": 0.02768
}

Semantic roles & 50–950 ramp

primary
#5B1412
secondary
#359193
accent
#E5EA3E
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5B1412

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

Preview Lab → · Contrast checker → · Palette generator →

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