#5B181A#5B181A

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

Color values

HEX#5B181A
RGBrgb(91, 24, 26)
HSLhsl(358, 58%, 23%)
HSVhsv(358, 74%, 36%)
CMYKcmyk(0%, 73.6%, 71.4%, 64.3%)
CIE-LABlab(19.85, 30.63, 16.19)
CIE-LCHlch(19.85, 34.65, 27.86°)
OKLaboklab(32.09% 0.09 0.0381)
OKLCHoklch(32.09% 0.098 23)
XYZxyz(4.8280, 2.9527, 1.2928)
Luminance0.0295 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B181A #185B59
analogous
#5B183B #5B181A #5B3718
triadic
#5B181A #1A5B18 #181A5B
tetradic
#5B181A #3B5B18 #185B59 #37185B
square
#5B181A #3B5B18 #185B59 #37185B
split-complementary
#5B181A #185B37 #183B5B
monochromatic
#180607 #2B0B0C #5B181A #8B2528 #BC3236

Accessibility & contrast

On white

13.20
#5B181A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B181A
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B181A#FFFFFF#000000##FFFFFF
##5B181A1.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2719
Deuteranopia (green-blind)
#3B3518
Tritanopia (blue-blind)
#650619
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5b181a;
/* rgb */ color: rgb(91, 24, 26);
/* oklch */ color: oklch(32.1% 0.098 23.0);
Tailwind
colors: {
  custom: {
    50: '#8f5a56',
    500: '#5b181a',
    950: '#000000',
  },
}
SCSS
$custom: #5b181a;
$custom-light: #8f5a56;
$custom-dark: #000000;
JSON
{
  "hex": "#5b181a",
  "rgb": {
    "r": 91,
    "g": 24,
    "b": 26
  },
  "hsl": {
    "h": 358.209,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32091,
    "c": 0.09777,
    "h": 23
  },
  "luminance": 0.02952
}

Semantic roles & 50–950 ramp

primary
#5B181A
secondary
#3D928F
accent
#E1DD46
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #5B181A

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

Preview Lab → · Contrast checker → · Palette generator →

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