#5B161A#5B161A

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

Color values

HEX#5B161A
RGBrgb(91, 22, 26)
HSLhsl(357, 61%, 22%)
HSVhsv(357, 76%, 36%)
CMYKcmyk(0%, 75.8%, 71.4%, 64.3%)
CIE-LABlab(19.53, 31.52, 15.79)
CIE-LCHlch(19.53, 35.26, 26.60°)
OKLaboklab(31.85% 0.0929 0.0372)
OKLCHoklch(31.85% 0.1 21.8)
XYZxyz(4.7883, 2.8732, 1.2795)
Luminance0.0287 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B161A #165B57
analogous
#5B163D #5B161A #5B3516
triadic
#5B161A #1A5B16 #161A5B
tetradic
#5B161A #3D5B16 #165B57 #35165B
square
#5B161A #3D5B16 #165B57 #35165B
split-complementary
#5B161A #165B35 #163D5B
monochromatic
#190607 #2A0A0C #5B161A #8C2228 #BE2E36

Accessibility & contrast

On white

13.34
#5B161A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#5B161A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B161A
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B161A#FFFFFF#000000##FFFFFF
##5B161A1.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29261A
Deuteranopia (green-blind)
#3A3518
Tritanopia (blue-blind)
#650318
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5b161a;
/* rgb */ color: rgb(91, 22, 26);
/* oklch */ color: oklch(31.8% 0.100 21.8);
Tailwind
colors: {
  custom: {
    50: '#8f5956',
    500: '#5b161a',
    950: '#000000',
  },
}
SCSS
$custom: #5b161a;
$custom-light: #8f5956;
$custom-dark: #000000;
JSON
{
  "hex": "#5b161a",
  "rgb": {
    "r": 91,
    "g": 22,
    "b": 26
  },
  "hsl": {
    "h": 356.522,
    "s": 61.062,
    "l": 22.157
  },
  "oklch": {
    "l": 0.31849,
    "c": 0.10004,
    "h": 21.8
  },
  "luminance": 0.02873
}

Semantic roles & 50–950 ramp

primary
#5B161A
secondary
#3B928D
accent
#E4DB44
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #5B161A

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

Preview Lab → · Contrast checker → · Palette generator →

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