#5B1815#5B1815

#5B1815 is a dark, moderate red. Relative luminance 0.029; OKLCH L 32.0% C 0.099 H 26.8°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#5B1815
RGBrgb(91, 24, 21)
HSLhsl(3, 63%, 22%)
HSVhsv(3, 77%, 36%)
CMYKcmyk(0%, 73.6%, 76.9%, 64.3%)
CIE-LABlab(19.77, 30.33, 19.46)
CIE-LCHlch(19.77, 36.04, 32.68°)
OKLaboklab(32% 0.0879 0.0444)
OKLCHoklch(32% 0.099 26.8)
XYZxyz(4.7769, 2.9323, 1.0238)
Luminance0.0293 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1815 #15585B
analogous
#5B1535 #5B1815 #5B3B15
triadic
#5B1815 #155B18 #18155B
tetradic
#5B1815 #355B15 #15585B #3B155B
square
#5B1815 #355B15 #15585B #3B155B
split-complementary
#5B1815 #155B3B #15355B
monochromatic
#190706 #290B0A #5B1815 #8D2520 #BE322C

Accessibility & contrast

On white

13.24
#5B1815 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#5B1815 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1815
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1815#FFFFFF#000000##FFFFFF
##5B18151.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2714
Deuteranopia (green-blind)
#3C3513
Tritanopia (blue-blind)
#650518
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5b1815;
/* rgb */ color: rgb(91, 24, 21);
/* oklch */ color: oklch(32.0% 0.099 26.8);
Tailwind
colors: {
  custom: {
    50: '#8f5a52',
    500: '#5b1815',
    950: '#000000',
  },
}
SCSS
$custom: #5b1815;
$custom-light: #8f5a52;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1815",
  "rgb": {
    "r": 91,
    "g": 24,
    "b": 21
  },
  "hsl": {
    "h": 2.571,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32002,
    "c": 0.0985,
    "h": 26.8
  },
  "luminance": 0.02932
}

Semantic roles & 50–950 ramp

primary
#5B1815
secondary
#398F92
accent
#DFE642
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978

Preview Lab

Preview with #5B1815

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

Preview Lab → · Contrast checker → · Palette generator →

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