#5B161D#5B161D

#5B161D is a dark, moderate red. Relative luminance 0.029; OKLCH L 31.9% C 0.100 H 19.4°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#5B161D
RGBrgb(91, 22, 29)
HSLhsl(354, 61%, 22%)
HSVhsv(354, 76%, 36%)
CMYKcmyk(0%, 75.8%, 68.1%, 64.3%)
CIE-LABlab(19.59, 31.72, 13.78)
CIE-LCHlch(19.59, 34.59, 23.48°)
OKLaboklab(31.91% 0.0942 0.0331)
OKLCHoklch(31.91% 0.1 19.4)
XYZxyz(4.8236, 2.8874, 1.4655)
Luminance0.0289 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B161D #165B54
analogous
#5B1640 #5B161D #5B3216
triadic
#5B161D #1D5B16 #161D5B
tetradic
#5B161D #405B16 #165B54 #32165B
square
#5B161D #405B16 #165B54 #32165B
split-complementary
#5B161D #165B32 #16405B
monochromatic
#190608 #2A0A0D #5B161D #8C222D #BE2E3C

Accessibility & contrast

On white

13.31
#5B161D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#5B161D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B161D
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B161D#FFFFFF#000000##FFFFFF
##5B161D1.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29261D
Deuteranopia (green-blind)
#3A351B
Tritanopia (blue-blind)
#640419
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5b161d;
/* rgb */ color: rgb(91, 22, 29);
/* oklch */ color: oklch(31.9% 0.100 19.4);
Tailwind
colors: {
  custom: {
    50: '#8f5958',
    500: '#5b161d',
    950: '#000000',
  },
}
SCSS
$custom: #5b161d;
$custom-light: #8f5958;
$custom-dark: #000000;
JSON
{
  "hex": "#5b161d",
  "rgb": {
    "r": 91,
    "g": 22,
    "b": 29
  },
  "hsl": {
    "h": 353.913,
    "s": 61.062,
    "l": 22.157
  },
  "oklch": {
    "l": 0.31911,
    "c": 0.09982,
    "h": 19.4
  },
  "luminance": 0.02887
}

Semantic roles & 50–950 ramp

primary
#5B161D
secondary
#3B9289
accent
#E4D444
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #5B161D

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

Preview Lab → · Contrast checker → · Palette generator →

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