#5B161E#5B161E

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

Color values

HEX#5B161E
RGBrgb(91, 22, 30)
HSLhsl(353, 61%, 22%)
HSVhsv(353, 76%, 36%)
CMYKcmyk(0%, 75.8%, 67%, 64.3%)
CIE-LABlab(19.61, 31.80, 13.11)
CIE-LCHlch(19.61, 34.39, 22.41°)
OKLaboklab(31.93% 0.0946 0.0317)
OKLCHoklch(31.93% 0.1 18.5)
XYZxyz(4.8361, 2.8924, 1.5317)
Luminance0.0289 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B161E #165B53
analogous
#5B1641 #5B161E #5B3016
triadic
#5B161E #1E5B16 #161E5B
tetradic
#5B161E #415B16 #165B53 #30165B
square
#5B161E #415B16 #165B53 #30165B
split-complementary
#5B161E #165B30 #16415B
monochromatic
#190608 #2A0A0E #5B161E #8C222E #BE2E3E

Accessibility & contrast

On white

13.30
#5B161E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B161E
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B161E#FFFFFF#000000##FFFFFF
##5B161E1.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b161e;
/* rgb */ color: rgb(91, 22, 30);
/* oklch */ color: oklch(31.9% 0.100 18.5);
Tailwind
colors: {
  custom: {
    50: '#8f5959',
    500: '#5b161e',
    950: '#000000',
  },
}
SCSS
$custom: #5b161e;
$custom-light: #8f5959;
$custom-dark: #000000;
JSON
{
  "hex": "#5b161e",
  "rgb": {
    "r": 91,
    "g": 22,
    "b": 30
  },
  "hsl": {
    "h": 353.043,
    "s": 61.062,
    "l": 22.157
  },
  "oklch": {
    "l": 0.31933,
    "c": 0.09979,
    "h": 18.5
  },
  "luminance": 0.02892
}

Semantic roles & 50–950 ramp

primary
#5B161E
secondary
#3B9288
accent
#E4D244
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #5B161E

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

Preview Lab → · Contrast checker → · Palette generator →

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