#5B1121#5B1121

#5B1121 is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.5% C 0.105 H 13.7°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#5B1121
RGBrgb(91, 17, 33)
HSLhsl(347, 69%, 21%)
HSVhsv(347, 81%, 36%)
CMYKcmyk(0%, 81.3%, 63.7%, 64.3%)
CIE-LABlab(18.95, 34.03, 10.13)
CIE-LCHlch(18.95, 35.51, 16.58°)
OKLaboklab(31.47% 0.1024 0.025)
OKLCHoklch(31.47% 0.105 13.7)
XYZxyz(4.7898, 2.7355, 1.7143)
Luminance0.0273 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1121 #115B4B
analogous
#5B1146 #5B1121 #5B2611
triadic
#5B1121 #215B11 #11215B
tetradic
#5B1121 #465B11 #115B4B #26115B
square
#5B1121 #465B11 #115B4B #26115B
split-complementary
#5B1121 #115B26 #11465B
monochromatic
#1A0509 #27070E #5B1121 #8F1B34 #C22446

Accessibility & contrast

On white

13.57
#5B1121 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#5B1121 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1121
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1121#FFFFFF#000000##FFFFFF
##5B11211.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252421
Deuteranopia (green-blind)
#38341F
Tritanopia (blue-blind)
#640018
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5b1121;
/* rgb */ color: rgb(91, 17, 33);
/* oklch */ color: oklch(31.5% 0.105 13.7);
Tailwind
colors: {
  custom: {
    50: '#8f575b',
    500: '#5b1121',
    950: '#000000',
  },
}
SCSS
$custom: #5b1121;
$custom-light: #8f575b;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1121",
  "rgb": {
    "r": 91,
    "g": 17,
    "b": 33
  },
  "hsl": {
    "h": 347.027,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31468,
    "c": 0.10542,
    "h": 13.7
  },
  "luminance": 0.02735
}

Semantic roles & 50–950 ramp

primary
#5B1121
secondary
#34947F
accent
#EBC63C
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0304
muted
#7E7879

Preview Lab

Preview with #5B1121

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

Preview Lab → · Contrast checker → · Palette generator →

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