#5B151C#5B151C

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

Color values

HEX#5B151C
RGBrgb(91, 21, 28)
HSLhsl(354, 63%, 22%)
HSVhsv(354, 77%, 36%)
CMYKcmyk(0%, 76.9%, 69.2%, 64.3%)
CIE-LABlab(19.41, 32.08, 14.25)
CIE-LCHlch(19.41, 35.11, 23.96°)
OKLaboklab(31.77% 0.0951 0.034)
OKLCHoklch(31.77% 0.101 19.7)
XYZxyz(4.7926, 2.8450, 1.3952)
Luminance0.0284 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B151C #155B54
analogous
#5B153F #5B151C #5B3115
triadic
#5B151C #1C5B15 #151C5B
tetradic
#5B151C #3F5B15 #155B54 #31155B
square
#5B151C #3F5B15 #155B54 #31155B
split-complementary
#5B151C #155B31 #153F5B
monochromatic
#190608 #290A0D #5B151C #8D202B #BE2C3B

Accessibility & contrast

On white

13.39
#5B151C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B151C
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B151C#FFFFFF#000000##FFFFFF
##5B151C1.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b151c;
/* rgb */ color: rgb(91, 21, 28);
/* oklch */ color: oklch(31.8% 0.101 19.7);
Tailwind
colors: {
  custom: {
    50: '#8f5857',
    500: '#5b151c',
    950: '#000000',
  },
}
SCSS
$custom: #5b151c;
$custom-light: #8f5857;
$custom-dark: #000000;
JSON
{
  "hex": "#5b151c",
  "rgb": {
    "r": 91,
    "g": 21,
    "b": 28
  },
  "hsl": {
    "h": 354,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31774,
    "c": 0.10101,
    "h": 19.7
  },
  "luminance": 0.02844
}

Semantic roles & 50–950 ramp

primary
#5B151C
secondary
#39928A
accent
#E6D542
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #5B151C

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

Preview Lab → · Contrast checker → · Palette generator →

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