#5B1B0F#5B1B0F

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

Color values

HEX#5B1B0F
RGBrgb(91, 27, 15)
HSLhsl(9, 72%, 21%)
HSVhsv(9, 84%, 36%)
CMYKcmyk(0%, 70.3%, 83.5%, 64.3%)
CIE-LABlab(20.22, 28.62, 23.60)
CIE-LCHlch(20.22, 37.10, 39.51°)
OKLaboklab(32.31% 0.0812 0.0522)
OKLCHoklch(32.31% 0.097 32.7)
XYZxyz(4.7931, 3.0432, 0.7869)
Luminance0.0304 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1B0F #0F4F5B
analogous
#5B0F29 #5B1B0F #5B410F
triadic
#5B1B0F #0F5B1B #1B0F5B
tetradic
#5B1B0F #295B0F #0F4F5B #410F5B
square
#5B1B0F #295B0F #0F4F5B #410F5B
split-complementary
#5B1B0F #0F5B41 #0F295B
monochromatic
#1A0804 #260B06 #5B1B0F #902B18 #C43A20

Accessibility & contrast

On white

13.05
#5B1B0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B1B0F
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1B0F#FFFFFF#000000##FFFFFF
##5B1B0F1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D280D
Deuteranopia (green-blind)
#3D360D
Tritanopia (blue-blind)
#650919
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5b1b0f;
/* rgb */ color: rgb(91, 27, 15);
/* oklch */ color: oklch(32.3% 0.097 32.7);
Tailwind
colors: {
  custom: {
    50: '#905b4e',
    500: '#5b1b0f',
    950: '#000000',
  },
}
SCSS
$custom: #5b1b0f;
$custom-light: #905b4e;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1b0f",
  "rgb": {
    "r": 91,
    "g": 27,
    "b": 15
  },
  "hsl": {
    "h": 9.474,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32311,
    "c": 0.0965,
    "h": 32.7
  },
  "luminance": 0.03043
}

Semantic roles & 50–950 ramp

primary
#5B1B0F
secondary
#318595
accent
#D2EE39
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977

Preview Lab

Preview with #5B1B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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