#5B1A0F#5B1A0F

#5B1A0F is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.2% C 0.098 H 32.1°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#5B1A0F
RGBrgb(91, 26, 15)
HSLhsl(9, 72%, 21%)
HSVhsv(9, 84%, 36%)
CMYKcmyk(0%, 71.4%, 83.5%, 64.3%)
CIE-LABlab(20.04, 29.11, 23.40)
CIE-LCHlch(20.04, 37.35, 38.80°)
OKLaboklab(32.18% 0.0827 0.0518)
OKLCHoklch(32.18% 0.098 32.1)
XYZxyz(4.7705, 2.9981, 0.7793)
Luminance0.0300 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1A0F #0F505B
analogous
#5B0F2A #5B1A0F #5B400F
triadic
#5B1A0F #0F5B1A #1A0F5B
tetradic
#5B1A0F #2A5B0F #0F505B #400F5B
square
#5B1A0F #2A5B0F #0F505B #400F5B
split-complementary
#5B1A0F #0F5B40 #0F2A5B
monochromatic
#1A0804 #260B06 #5B1A0F #902918 #C43820

Accessibility & contrast

On white

13.13
#5B1A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#5B1A0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1A0F
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1A0F#FFFFFF#000000##FFFFFF
##5B1A0F1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D270D
Deuteranopia (green-blind)
#3D360C
Tritanopia (blue-blind)
#650718
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5b1a0f;
/* rgb */ color: rgb(91, 26, 15);
/* oklch */ color: oklch(32.2% 0.098 32.1);
Tailwind
colors: {
  custom: {
    50: '#905b4e',
    500: '#5b1a0f',
    950: '#000000',
  },
}
SCSS
$custom: #5b1a0f;
$custom-light: #905b4e;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1a0f",
  "rgb": {
    "r": 91,
    "g": 26,
    "b": 15
  },
  "hsl": {
    "h": 8.684,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32176,
    "c": 0.09756,
    "h": 32.1
  },
  "luminance": 0.02997
}

Semantic roles & 50–950 ramp

primary
#5B1A0F
secondary
#318695
accent
#D4EE39
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977

Preview Lab

Preview with #5B1A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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