#5B2124#5B2124

#5B2124 is a dark, moderate red. Relative luminance 0.034; OKLCH L 33.6% C 0.085 H 19.8°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#5B2124
RGBrgb(91, 33, 36)
HSLhsl(357, 47%, 24%)
HSVhsv(357, 64%, 36%)
CMYKcmyk(0%, 63.7%, 60.4%, 64.3%)
CIE-LABlab(21.73, 26.92, 11.75)
CIE-LCHlch(21.73, 29.37, 23.58°)
OKLaboklab(33.56% 0.0803 0.029)
OKLCHoklch(33.56% 0.085 19.8)
XYZxyz(5.1771, 3.4399, 2.0601)
Luminance0.0344 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B2124 #215B58
analogous
#5B2141 #5B2124 #5B3B21
triadic
#5B2124 #245B21 #21245B
tetradic
#5B2124 #415B21 #215B58 #3B215B
square
#5B2124 #415B21 #215B58 #3B215B
split-complementary
#5B2124 #215B3B #21415B
monochromatic
#160809 #2E1112 #5B2124 #883136 #B54248

Accessibility & contrast

On white

12.44
#5B2124 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#5B2124 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B2124
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B2124#FFFFFF#000000##FFFFFF
##5B21241.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2C24
Deuteranopia (green-blind)
#3E3923
Tritanopia (blue-blind)
#641722
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5b2124;
/* rgb */ color: rgb(91, 33, 36);
/* oklch */ color: oklch(33.6% 0.085 19.8);
Tailwind
colors: {
  custom: {
    50: '#8d5f5e',
    500: '#5b2124',
    950: '#000000',
  },
}
SCSS
$custom: #5b2124;
$custom-light: #8d5f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#5b2124",
  "rgb": {
    "r": 91,
    "g": 33,
    "b": 36
  },
  "hsl": {
    "h": 356.897,
    "s": 46.774,
    "l": 24.314
  },
  "oklch": {
    "l": 0.33561,
    "c": 0.08541,
    "h": 19.8
  },
  "luminance": 0.03439
}

Semantic roles & 50–950 ramp

primary
#5B2124
secondary
#498F8C
accent
#D6D051
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0504
muted
#7E7979

Preview Lab

Preview with #5B2124

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

Preview Lab → · Contrast checker → · Palette generator →

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