#5B151D#5B151D

#5B151D is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.8% C 0.101 H 18.9°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#5B151D
RGBrgb(91, 21, 29)
HSLhsl(353, 63%, 22%)
HSVhsv(353, 77%, 36%)
CMYKcmyk(0%, 76.9%, 68.1%, 64.3%)
CIE-LABlab(19.43, 32.15, 13.58)
CIE-LCHlch(19.43, 34.90, 22.91°)
OKLaboklab(31.8% 0.0956 0.0326)
OKLCHoklch(31.8% 0.101 18.9)
XYZxyz(4.8048, 2.8499, 1.4592)
Luminance0.0285 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B151D #155B53
analogous
#5B1540 #5B151D #5B3015
triadic
#5B151D #1D5B15 #151D5B
tetradic
#5B151D #405B15 #155B53 #30155B
square
#5B151D #405B15 #155B53 #30155B
split-complementary
#5B151D #155B30 #15405B
monochromatic
#190608 #290A0D #5B151D #8D202D #BE2C3D

Accessibility & contrast

On white

13.38
#5B151D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#5B151D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B151D
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B151D#FFFFFF#000000##FFFFFF
##5B151D1.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28261D
Deuteranopia (green-blind)
#3A341B
Tritanopia (blue-blind)
#640218
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5b151d;
/* rgb */ color: rgb(91, 21, 29);
/* oklch */ color: oklch(31.8% 0.101 18.9);
Tailwind
colors: {
  custom: {
    50: '#8f5858',
    500: '#5b151d',
    950: '#000000',
  },
}
SCSS
$custom: #5b151d;
$custom-light: #8f5858;
$custom-dark: #000000;
JSON
{
  "hex": "#5b151d",
  "rgb": {
    "r": 91,
    "g": 21,
    "b": 29
  },
  "hsl": {
    "h": 353.143,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31796,
    "c": 0.10097,
    "h": 18.9
  },
  "luminance": 0.02849
}

Semantic roles & 50–950 ramp

primary
#5B151D
secondary
#399288
accent
#E6D342
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #5B151D

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

Preview Lab → · Contrast checker → · Palette generator →

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