#5B0E21#5B0E21

#5B0E21 is a dark, moderate red. Relative luminance 0.026; OKLCH L 31.2% C 0.108 H 12.7°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#5B0E21
RGBrgb(91, 14, 33)
HSLhsl(345, 73%, 21%)
HSVhsv(345, 85%, 36%)
CMYKcmyk(0%, 84.6%, 63.7%, 64.3%)
CIE-LABlab(18.58, 35.08, 9.63)
CIE-LCHlch(18.58, 36.38, 15.35°)
OKLaboklab(31.19% 0.1058 0.0238)
OKLCHoklch(31.19% 0.108 12.7)
XYZxyz(4.7464, 2.6487, 1.6999)
Luminance0.0265 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B0E21 #0E5B48
analogous
#5B0E47 #5B0E21 #5B210E
triadic
#5B0E21 #215B0E #0E215B
tetradic
#5B0E21 #475B0E #0E5B48 #210E5B
square
#5B0E21 #475B0E #0E5B48 #210E5B
split-complementary
#5B0E21 #0E5B21 #0E475B
monochromatic
#1B040A #26060E #5B0E21 #901634 #C51E47

Accessibility & contrast

On white

13.73
#5B0E21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#5B0E21 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B0E21
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B0E21#FFFFFF#000000##FFFFFF
##5B0E211.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242321
Deuteranopia (green-blind)
#37331F
Tritanopia (blue-blind)
#640016
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5b0e21;
/* rgb */ color: rgb(91, 14, 33);
/* oklch */ color: oklch(31.2% 0.108 12.7);
Tailwind
colors: {
  custom: {
    50: '#8f555b',
    500: '#5b0e21',
    950: '#000000',
  },
}
SCSS
$custom: #5b0e21;
$custom-light: #8f555b;
$custom-dark: #000000;
JSON
{
  "hex": "#5b0e21",
  "rgb": {
    "r": 91,
    "g": 14,
    "b": 33
  },
  "hsl": {
    "h": 345.195,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31191,
    "c": 0.10845,
    "h": 12.7
  },
  "luminance": 0.02648
}

Semantic roles & 50–950 ramp

primary
#5B0E21
secondary
#30957C
accent
#F0C338
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0304
muted
#7E7879

Preview Lab

Preview with #5B0E21

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

Preview Lab → · Contrast checker → · Palette generator →

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