#5B2116#5B2116

#5B2116 is a dark, moderate red. Relative luminance 0.034; OKLCH L 33.3% C 0.088 H 32.6°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#5B2116
RGBrgb(91, 33, 22)
HSLhsl(10, 61%, 22%)
HSVhsv(10, 76%, 36%)
CMYKcmyk(0%, 63.7%, 75.8%, 64.3%)
CIE-LABlab(21.47, 25.88, 20.77)
CIE-LCHlch(21.47, 33.19, 38.75°)
OKLaboklab(33.29% 0.0742 0.0475)
OKLCHoklch(33.29% 0.088 32.6)
XYZxyz(5.0036, 3.3705, 1.1460)
Luminance0.0337 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B2116 #16505B
analogous
#5B162E #5B2116 #5B4416
triadic
#5B2116 #165B21 #21165B
tetradic
#5B2116 #2E5B16 #16505B #44165B
square
#5B2116 #2E5B16 #16505B #44165B
split-complementary
#5B2116 #165B44 #162E5B
monochromatic
#190906 #2A0F0A #5B2116 #8C3322 #BE452E

Accessibility & contrast

On white

12.54
#5B2116 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B2116
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B2116#FFFFFF#000000##FFFFFF
##5B21161.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312C15
Deuteranopia (green-blind)
#3F3814
Tritanopia (blue-blind)
#64141F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5b2116;
/* rgb */ color: rgb(91, 33, 22);
/* oklch */ color: oklch(33.3% 0.088 32.6);
Tailwind
colors: {
  custom: {
    50: '#8f5f53',
    500: '#5b2116',
    950: '#000000',
  },
}
SCSS
$custom: #5b2116;
$custom-light: #8f5f53;
$custom-dark: #000000;
JSON
{
  "hex": "#5b2116",
  "rgb": {
    "r": 91,
    "g": 33,
    "b": 22
  },
  "hsl": {
    "h": 9.565,
    "s": 61.062,
    "l": 22.157
  },
  "oklch": {
    "l": 0.33286,
    "c": 0.08811,
    "h": 32.6
  },
  "luminance": 0.0337
}

Semantic roles & 50–950 ramp

primary
#5B2116
secondary
#3B8492
accent
#CBE444
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0402
muted
#7E7978

Preview Lab

Preview with #5B2116

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

Preview Lab → · Contrast checker → · Palette generator →

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