#5B1B0D#5B1B0D

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

Color values

HEX#5B1B0D
RGBrgb(91, 27, 13)
HSLhsl(11, 75%, 20%)
HSVhsv(11, 86%, 36%)
CMYKcmyk(0%, 70.3%, 85.7%, 64.3%)
CIE-LABlab(20.19, 28.54, 24.59)
CIE-LCHlch(20.19, 37.67, 40.74°)
OKLaboklab(32.29% 0.0805 0.0541)
OKLCHoklch(32.29% 0.097 33.9)
XYZxyz(4.7795, 3.0378, 0.7154)
Luminance0.0304 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1B0D #0D4D5B
analogous
#5B0D26 #5B1B0D #5B420D
triadic
#5B1B0D #0D5B1B #1B0D5B
tetradic
#5B1B0D #265B0D #0D4D5B #420D5B
square
#5B1B0D #265B0D #0D4D5B #420D5B
split-complementary
#5B1B0D #0D5B42 #0D265B
monochromatic
#1B0804 #250B05 #5B1B0D #912B15 #C63B1C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B1B0D#FFFFFF#000000##FFFFFF
##5B1B0D1.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)
#2D280B
Deuteranopia (green-blind)
#3D360A
Tritanopia (blue-blind)
#650918
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5b1b0d;
/* rgb */ color: rgb(91, 27, 13);
/* oklch */ color: oklch(32.3% 0.097 33.9);
Tailwind
colors: {
  custom: {
    50: '#905b4d',
    500: '#5b1b0d',
    950: '#000000',
  },
}
SCSS
$custom: #5b1b0d;
$custom-light: #905b4d;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1b0d",
  "rgb": {
    "r": 91,
    "g": 27,
    "b": 13
  },
  "hsl": {
    "h": 10.769,
    "s": 75,
    "l": 20.392
  },
  "oklch": {
    "l": 0.32288,
    "c": 0.09696,
    "h": 33.9
  },
  "luminance": 0.03037
}

Semantic roles & 50–950 ramp

primary
#5B1B0D
secondary
#2F8395
accent
#D0F236
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977

Preview Lab

Preview with #5B1B0D

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

Preview Lab → · Contrast checker → · Palette generator →

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