#5B181E#5B181E

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

Color values

HEX#5B181E
RGBrgb(91, 24, 30)
HSLhsl(355, 58%, 23%)
HSVhsv(355, 74%, 36%)
CMYKcmyk(0%, 73.6%, 67%, 64.3%)
CIE-LABlab(19.93, 30.91, 13.53)
CIE-LCHlch(19.93, 33.74, 23.64°)
OKLaboklab(32.17% 0.0918 0.0326)
OKLCHoklch(32.17% 0.097 19.6)
XYZxyz(4.8758, 2.9718, 1.5449)
Luminance0.0297 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B181E #185B55
analogous
#5B183F #5B181E #5B3418
triadic
#5B181E #1E5B18 #181E5B
tetradic
#5B181E #3F5B18 #185B55 #34185B
square
#5B181E #3F5B18 #185B55 #34185B
split-complementary
#5B181E #185B34 #183F5B
monochromatic
#180608 #2B0B0E #5B181E #8B252E #BC323E

Accessibility & contrast

On white

13.17
#5B181E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B181E
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B181E#FFFFFF#000000##FFFFFF
##5B181E1.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A271E
Deuteranopia (green-blind)
#3B351C
Tritanopia (blue-blind)
#64071B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5b181e;
/* rgb */ color: rgb(91, 24, 30);
/* oklch */ color: oklch(32.2% 0.097 19.6);
Tailwind
colors: {
  custom: {
    50: '#8f5a59',
    500: '#5b181e',
    950: '#000000',
  },
}
SCSS
$custom: #5b181e;
$custom-light: #8f5a59;
$custom-dark: #000000;
JSON
{
  "hex": "#5b181e",
  "rgb": {
    "r": 91,
    "g": 24,
    "b": 30
  },
  "hsl": {
    "h": 354.627,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32174,
    "c": 0.09743,
    "h": 19.6
  },
  "luminance": 0.02971
}

Semantic roles & 50–950 ramp

primary
#5B181E
secondary
#3D928A
accent
#E1D446
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #5B181E

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

Preview Lab → · Contrast checker → · Palette generator →

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