#5B211A#5B211A

#5B211A is a dark, moderate red. Relative luminance 0.034; OKLCH L 33.4% C 0.087 H 29.4°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#5B211A
RGBrgb(91, 33, 26)
HSLhsl(6, 56%, 23%)
HSVhsv(6, 71%, 36%)
CMYKcmyk(0%, 63.7%, 71.4%, 64.3%)
CIE-LABlab(21.53, 26.13, 18.25)
CIE-LCHlch(21.53, 31.87, 34.92°)
OKLaboklab(33.35% 0.0759 0.0427)
OKLCHoklch(33.35% 0.087 29.4)
XYZxyz(5.0452, 3.3871, 1.3652)
Luminance0.0339 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B211A #1A545B
analogous
#5B1A33 #5B211A #5B421A
triadic
#5B211A #1A5B21 #211A5B
tetradic
#5B211A #335B1A #1A545B #421A5B
square
#5B211A #335B1A #1A545B #421A5B
split-complementary
#5B211A #1A5B42 #1A335B
monochromatic
#180907 #2B100C #5B211A #8B3228 #BA4435

Accessibility & contrast

On white

12.52
#5B211A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#5B211A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B211A
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B211A#FFFFFF#000000##FFFFFF
##5B211A1.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302C19
Deuteranopia (green-blind)
#3F3818
Tritanopia (blue-blind)
#641520
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5b211a;
/* rgb */ color: rgb(91, 33, 26);
/* oklch */ color: oklch(33.4% 0.087 29.4);
Tailwind
colors: {
  custom: {
    50: '#8e5f56',
    500: '#5b211a',
    950: '#000000',
  },
}
SCSS
$custom: #5b211a;
$custom-light: #8e5f56;
$custom-dark: #000000;
JSON
{
  "hex": "#5b211a",
  "rgb": {
    "r": 91,
    "g": 33,
    "b": 26
  },
  "hsl": {
    "h": 6.462,
    "s": 55.556,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33352,
    "c": 0.08706,
    "h": 29.4
  },
  "luminance": 0.03386
}

Semantic roles & 50–950 ramp

primary
#5B211A
secondary
#408891
accent
#CFDF49
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0503
muted
#7E7978

Preview Lab

Preview with #5B211A

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

Preview Lab → · Contrast checker → · Palette generator →

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