#5B211B#5B211B

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

Color values

HEX#5B211B
RGBrgb(91, 33, 27)
HSLhsl(6, 54%, 23%)
HSVhsv(6, 70%, 36%)
CMYKcmyk(0%, 63.7%, 70.3%, 64.3%)
CIE-LABlab(21.55, 26.20, 17.61)
CIE-LCHlch(21.55, 31.57, 33.90°)
OKLaboklab(33.37% 0.0763 0.0414)
OKLCHoklch(33.37% 0.087 28.5)
XYZxyz(5.0566, 3.3917, 1.4251)
Luminance0.0339 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B211B #1B555B
analogous
#5B1B35 #5B211B #5B411B
triadic
#5B211B #1B5B21 #211B5B
tetradic
#5B211B #355B1B #1B555B #411B5B
square
#5B211B #355B1B #1B555B #411B5B
split-complementary
#5B211B #1B5B41 #1B355B
monochromatic
#180907 #2C100D #5B211B #8A3229 #B94337

Accessibility & contrast

On white

12.51
#5B211B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B211B
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B211B#FFFFFF#000000##FFFFFF
##5B211B1.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b211b;
/* rgb */ color: rgb(91, 33, 27);
/* oklch */ color: oklch(33.4% 0.087 28.5);
Tailwind
colors: {
  custom: {
    50: '#8e5f57',
    500: '#5b211b',
    950: '#000000',
  },
}
SCSS
$custom: #5b211b;
$custom-light: #8e5f57;
$custom-dark: #000000;
JSON
{
  "hex": "#5b211b",
  "rgb": {
    "r": 91,
    "g": 33,
    "b": 27
  },
  "hsl": {
    "h": 5.625,
    "s": 54.237,
    "l": 23.137
  },
  "oklch": {
    "l": 0.3337,
    "c": 0.08682,
    "h": 28.5
  },
  "luminance": 0.03391
}

Semantic roles & 50–950 ramp

primary
#5B211B
secondary
#418991
accent
#D0DE4A
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0503
muted
#7E7978

Preview Lab

Preview with #5B211B

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

Preview Lab → · Contrast checker → · Palette generator →

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