#5B181D#5B181D

#5B181D is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.2% C 0.097 H 20.4°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#5B181D
RGBrgb(91, 24, 29)
HSLhsl(356, 58%, 23%)
HSVhsv(356, 74%, 36%)
CMYKcmyk(0%, 73.6%, 68.1%, 64.3%)
CIE-LABlab(19.91, 30.84, 14.20)
CIE-LCHlch(19.91, 33.95, 24.72°)
OKLaboklab(32.15% 0.0914 0.034)
OKLCHoklch(32.15% 0.097 20.4)
XYZxyz(4.8633, 2.9668, 1.4787)
Luminance0.0297 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B181D #185B56
analogous
#5B183F #5B181D #5B3418
triadic
#5B181D #1D5B18 #181D5B
tetradic
#5B181D #3F5B18 #185B56 #34185B
square
#5B181D #3F5B18 #185B56 #34185B
split-complementary
#5B181D #185B34 #183F5B
monochromatic
#180608 #2B0B0E #5B181D #8B252C #BC323C

Accessibility & contrast

On white

13.18
#5B181D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#5B181D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B181D
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B181D#FFFFFF#000000##FFFFFF
##5B181D1.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A271D
Deuteranopia (green-blind)
#3B351B
Tritanopia (blue-blind)
#64071A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5b181d;
/* rgb */ color: rgb(91, 24, 29);
/* oklch */ color: oklch(32.2% 0.097 20.4);
Tailwind
colors: {
  custom: {
    50: '#8f5a58',
    500: '#5b181d',
    950: '#000000',
  },
}
SCSS
$custom: #5b181d;
$custom-light: #8f5a58;
$custom-dark: #000000;
JSON
{
  "hex": "#5b181d",
  "rgb": {
    "r": 91,
    "g": 24,
    "b": 29
  },
  "hsl": {
    "h": 355.522,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32152,
    "c": 0.09749,
    "h": 20.4
  },
  "luminance": 0.02966
}

Semantic roles & 50–950 ramp

primary
#5B181D
secondary
#3D928B
accent
#E1D646
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #5B181D

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

Preview Lab → · Contrast checker → · Palette generator →

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