#5B1F0E#5B1F0E

#5B1F0E is a dark, moderate red. Relative luminance 0.032; OKLCH L 32.9% C 0.093 H 36.3°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#5B1F0E
RGBrgb(91, 31, 14)
HSLhsl(13, 73%, 21%)
HSVhsv(13, 85%, 36%)
CMYKcmyk(0%, 65.9%, 84.6%, 64.3%)
CIE-LABlab(20.97, 26.55, 24.95)
CIE-LCHlch(20.97, 36.43, 43.23°)
OKLaboklab(32.87% 0.0745 0.0548)
OKLCHoklch(32.87% 0.093 36.3)
XYZxyz(4.8842, 3.2365, 0.7829)
Luminance0.0324 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1F0E #0E4A5B
analogous
#5B0E23 #5B1F0E #5B450E
triadic
#5B1F0E #0E5B1F #1F0E5B
tetradic
#5B1F0E #235B0E #0E4A5B #450E5B
square
#5B1F0E #235B0E #0E4A5B #450E5B
split-complementary
#5B1F0E #0E5B45 #0E235B
monochromatic
#1B0904 #260D06 #5B1F0E #903116 #C5431E

Accessibility & contrast

On white

12.75
#5B1F0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5B1F0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1F0E
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1F0E#FFFFFF#000000##FFFFFF
##5B1F0E1.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A0C
Deuteranopia (green-blind)
#3F370C
Tritanopia (blue-blind)
#65101C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5b1f0e;
/* rgb */ color: rgb(91, 31, 14);
/* oklch */ color: oklch(32.9% 0.093 36.3);
Tailwind
colors: {
  custom: {
    50: '#8f5d4e',
    500: '#5b1f0e',
    950: '#000000',
  },
}
SCSS
$custom: #5b1f0e;
$custom-light: #8f5d4e;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1f0e",
  "rgb": {
    "r": 91,
    "g": 31,
    "b": 14
  },
  "hsl": {
    "h": 13.247,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.32874,
    "c": 0.09253,
    "h": 36.3
  },
  "luminance": 0.03236
}

Semantic roles & 50–950 ramp

primary
#5B1F0E
secondary
#307F95
accent
#C7F038
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977

Preview Lab

Preview with #5B1F0E

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

Preview Lab → · Contrast checker → · Palette generator →

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