#5B161F#5B161F

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

Color values

HEX#5B161F
RGBrgb(91, 22, 31)
HSLhsl(352, 61%, 22%)
HSVhsv(352, 76%, 36%)
CMYKcmyk(0%, 75.8%, 65.9%, 64.3%)
CIE-LABlab(19.63, 31.87, 12.44)
CIE-LCHlch(19.63, 34.21, 21.33°)
OKLaboklab(31.96% 0.0951 0.0302)
OKLCHoklch(31.96% 0.1 17.6)
XYZxyz(4.8491, 2.8976, 1.6000)
Luminance0.0290 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B161F #165B52
analogous
#5B1642 #5B161F #5B3016
triadic
#5B161F #1F5B16 #161F5B
tetradic
#5B161F #425B16 #165B52 #30165B
square
#5B161F #425B16 #165B52 #30165B
split-complementary
#5B161F #165B30 #16425B
monochromatic
#190608 #2A0A0E #5B161F #8C2230 #BE2E41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B161F#FFFFFF#000000##FFFFFF
##5B161F1.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)
#28261F
Deuteranopia (green-blind)
#3A351D
Tritanopia (blue-blind)
#64041A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5b161f;
/* rgb */ color: rgb(91, 22, 31);
/* oklch */ color: oklch(32.0% 0.100 17.6);
Tailwind
colors: {
  custom: {
    50: '#8f595a',
    500: '#5b161f',
    950: '#000000',
  },
}
SCSS
$custom: #5b161f;
$custom-light: #8f595a;
$custom-dark: #000000;
JSON
{
  "hex": "#5b161f",
  "rgb": {
    "r": 91,
    "g": 22,
    "b": 31
  },
  "hsl": {
    "h": 352.174,
    "s": 61.062,
    "l": 22.157
  },
  "oklch": {
    "l": 0.31956,
    "c": 0.09976,
    "h": 17.6
  },
  "luminance": 0.02897
}

Semantic roles & 50–950 ramp

primary
#5B161F
secondary
#3B9287
accent
#E4CF44
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #5B161F

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

Preview Lab → · Contrast checker → · Palette generator →

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