#5B181C#5B181C

#5B181C is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.1% C 0.098 H 21.3°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#5B181C
RGBrgb(91, 24, 28)
HSLhsl(356, 58%, 23%)
HSVhsv(356, 74%, 36%)
CMYKcmyk(0%, 73.6%, 69.2%, 64.3%)
CIE-LABlab(19.89, 30.77, 14.86)
CIE-LCHlch(19.89, 34.17, 25.78°)
OKLaboklab(32.13% 0.0909 0.0354)
OKLCHoklch(32.13% 0.098 21.3)
XYZxyz(4.8511, 2.9619, 1.4147)
Luminance0.0296 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B181C #185B57
analogous
#5B183D #5B181C #5B3618
triadic
#5B181C #1C5B18 #181C5B
tetradic
#5B181C #3D5B18 #185B57 #36185B
square
#5B181C #3D5B18 #185B57 #36185B
split-complementary
#5B181C #185B36 #183D5B
monochromatic
#180607 #2B0B0D #5B181C #8B252B #BC323A

Accessibility & contrast

On white

13.19
#5B181C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B181C
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B181C#FFFFFF#000000##FFFFFF
##5B181C1.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b181c;
/* rgb */ color: rgb(91, 24, 28);
/* oklch */ color: oklch(32.1% 0.098 21.3);
Tailwind
colors: {
  custom: {
    50: '#8f5a58',
    500: '#5b181c',
    950: '#000000',
  },
}
SCSS
$custom: #5b181c;
$custom-light: #8f5a58;
$custom-dark: #000000;
JSON
{
  "hex": "#5b181c",
  "rgb": {
    "r": 91,
    "g": 24,
    "b": 28
  },
  "hsl": {
    "h": 356.418,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32131,
    "c": 0.09757,
    "h": 21.3
  },
  "luminance": 0.02961
}

Semantic roles & 50–950 ramp

primary
#5B181C
secondary
#3D928D
accent
#E1D846
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #5B181C

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

Preview Lab → · Contrast checker → · Palette generator →

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