#5D161F#5D161F

#5D161F is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.3% C 0.102 H 18.0°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#5D161F
RGBrgb(93, 22, 31)
HSLhsl(352, 62%, 23%)
HSVhsv(352, 76%, 36%)
CMYKcmyk(0%, 76.3%, 66.7%, 63.5%)
CIE-LABlab(20.05, 32.58, 13.07)
CIE-LCHlch(20.05, 35.11, 21.85°)
OKLaboklab(32.34% 0.0971 0.0316)
OKLCHoklch(32.34% 0.102 18)
XYZxyz(5.0489, 3.0006, 1.6094)
Luminance0.0300 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D161F #165D54
analogous
#5D1643 #5D161F #5D3016
triadic
#5D161F #1F5D16 #161F5D
tetradic
#5D161F #435D16 #165D54 #30165D
square
#5D161F #435D16 #165D54 #30165D
split-complementary
#5D161F #165D30 #16435D
monochromatic
#190608 #2C0A0F #5D161F #8E222F #C02D40

Accessibility & contrast

On white

13.13
#5D161F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#5D161F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D161F
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D161F#FFFFFF#000000##FFFFFF
##5D161F1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29271F
Deuteranopia (green-blind)
#3B361D
Tritanopia (blue-blind)
#67031A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5d161f;
/* rgb */ color: rgb(93, 22, 31);
/* oklch */ color: oklch(32.3% 0.102 18.0);
Tailwind
colors: {
  custom: {
    50: '#90595a',
    500: '#5d161f',
    950: '#000000',
  },
}
SCSS
$custom: #5d161f;
$custom-light: #90595a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d161f",
  "rgb": {
    "r": 93,
    "g": 22,
    "b": 31
  },
  "hsl": {
    "h": 352.394,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32343,
    "c": 0.10209,
    "h": 18
  },
  "luminance": 0.03
}

Semantic roles & 50–950 ramp

primary
#5D161F
secondary
#3B9489
accent
#E5D043
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #5D161F

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

Preview Lab → · Contrast checker → · Palette generator →

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