#5B2111#5B2111

#5B2111 is a dark, moderate red. Relative luminance 0.034; OKLCH L 33.2% C 0.090 H 36.2°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#5B2111
RGBrgb(91, 33, 17)
HSLhsl(13, 69%, 21%)
HSVhsv(13, 81%, 36%)
CMYKcmyk(0%, 63.7%, 81.3%, 64.3%)
CIE-LABlab(21.41, 25.61, 23.80)
CIE-LCHlch(21.41, 34.97, 42.90°)
OKLaboklab(33.22% 0.0723 0.0529)
OKLCHoklch(33.22% 0.09 36.2)
XYZxyz(4.9599, 3.3530, 0.9162)
Luminance0.0335 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B2111 #114B5B
analogous
#5B1126 #5B2111 #5B4611
triadic
#5B2111 #115B21 #21115B
tetradic
#5B2111 #265B11 #114B5B #46115B
square
#5B2111 #265B11 #114B5B #46115B
split-complementary
#5B2111 #115B46 #11265B
monochromatic
#1A0905 #270E07 #5B2111 #8F341B #C24624

Accessibility & contrast

On white

12.57
#5B2111 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#5B2111 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B2111
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B2111#FFFFFF#000000##FFFFFF
##5B21111.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B0F
Deuteranopia (green-blind)
#3F380F
Tritanopia (blue-blind)
#65141E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5b2111;
/* rgb */ color: rgb(91, 33, 17);
/* oklch */ color: oklch(33.2% 0.090 36.2);
Tailwind
colors: {
  custom: {
    50: '#8f5f50',
    500: '#5b2111',
    950: '#000000',
  },
}
SCSS
$custom: #5b2111;
$custom-light: #8f5f50;
$custom-dark: #000000;
JSON
{
  "hex": "#5b2111",
  "rgb": {
    "r": 91,
    "g": 33,
    "b": 17
  },
  "hsl": {
    "h": 12.973,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.33216,
    "c": 0.08957,
    "h": 36.2
  },
  "luminance": 0.03352
}

Semantic roles & 50–950 ramp

primary
#5B2111
secondary
#347F94
accent
#C6EB3C
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0D0402
muted
#7E7978

Preview Lab

Preview with #5B2111

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

Preview Lab → · Contrast checker → · Palette generator →

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