#5B1B0E#5B1B0E

#5B1B0E is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.3% C 0.097 H 33.3°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#5B1B0E
RGBrgb(91, 27, 14)
HSLhsl(10, 73%, 21%)
HSVhsv(10, 85%, 36%)
CMYKcmyk(0%, 70.3%, 84.6%, 64.3%)
CIE-LABlab(20.20, 28.58, 24.11)
CIE-LCHlch(20.20, 37.39, 40.15°)
OKLaboklab(32.3% 0.0808 0.0532)
OKLCHoklch(32.3% 0.097 33.3)
XYZxyz(4.7861, 3.0404, 0.7502)
Luminance0.0304 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1B0E #0E4E5B
analogous
#5B0E27 #5B1B0E #5B410E
triadic
#5B1B0E #0E5B1B #1B0E5B
tetradic
#5B1B0E #275B0E #0E4E5B #410E5B
square
#5B1B0E #275B0E #0E4E5B #410E5B
split-complementary
#5B1B0E #0E5B41 #0E275B
monochromatic
#1B0804 #260B06 #5B1B0E #902B16 #C53A1E

Accessibility & contrast

On white

13.06
#5B1B0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#5B1B0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1B0E
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1B0E#FFFFFF#000000##FFFFFF
##5B1B0E1.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D280C
Deuteranopia (green-blind)
#3D360B
Tritanopia (blue-blind)
#650918
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5b1b0e;
/* rgb */ color: rgb(91, 27, 14);
/* oklch */ color: oklch(32.3% 0.097 33.3);
Tailwind
colors: {
  custom: {
    50: '#905b4d',
    500: '#5b1b0e',
    950: '#000000',
  },
}
SCSS
$custom: #5b1b0e;
$custom-light: #905b4d;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1b0e",
  "rgb": {
    "r": 91,
    "g": 27,
    "b": 14
  },
  "hsl": {
    "h": 10.13,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.323,
    "c": 0.09674,
    "h": 33.3
  },
  "luminance": 0.0304
}

Semantic roles & 50–950 ramp

primary
#5B1B0E
secondary
#308495
accent
#D1F038
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977

Preview Lab

Preview with #5B1B0E

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

Preview Lab → · Contrast checker → · Palette generator →

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