#5B1516#5B1516

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

Color values

HEX#5B1516
RGBrgb(91, 21, 22)
HSLhsl(359, 63%, 22%)
HSVhsv(359, 77%, 36%)
CMYKcmyk(0%, 76.9%, 75.8%, 64.3%)
CIE-LABlab(19.30, 31.71, 18.24)
CIE-LCHlch(19.30, 36.58, 29.91°)
OKLaboklab(31.66% 0.0925 0.042)
OKLCHoklch(31.66% 0.102 24.4)
XYZxyz(4.7279, 2.8191, 1.0541)
Luminance0.0282 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1516 #155B5A
analogous
#5B1539 #5B1516 #5B3715
triadic
#5B1516 #165B15 #15165B
tetradic
#5B1516 #395B15 #155B5A #37155B
square
#5B1516 #395B15 #155B5A #37155B
split-complementary
#5B1516 #155B37 #15395B
monochromatic
#190606 #290A0A #5B1516 #8D2022 #BE2C2E

Accessibility & contrast

On white

13.43
#5B1516 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B1516
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1516#FFFFFF#000000##FFFFFF
##5B15161.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292515
Deuteranopia (green-blind)
#3B3414
Tritanopia (blue-blind)
#650016
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5b1516;
/* rgb */ color: rgb(91, 21, 22);
/* oklch */ color: oklch(31.7% 0.102 24.4);
Tailwind
colors: {
  custom: {
    50: '#8f5853',
    500: '#5b1516',
    950: '#000000',
  },
}
SCSS
$custom: #5b1516;
$custom-light: #8f5853;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1516",
  "rgb": {
    "r": 91,
    "g": 21,
    "b": 22
  },
  "hsl": {
    "h": 359.143,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31659,
    "c": 0.10158,
    "h": 24.4
  },
  "luminance": 0.02818
}

Semantic roles & 50–950 ramp

primary
#5B1516
secondary
#399291
accent
#E6E342
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978

Preview Lab

Preview with #5B1516

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

Preview Lab → · Contrast checker → · Palette generator →

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