#5B1D0F#5B1D0F

#5B1D0F is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.6% C 0.094 H 34.2°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#5B1D0F
RGBrgb(91, 29, 15)
HSLhsl(11, 72%, 21%)
HSVhsv(11, 84%, 36%)
CMYKcmyk(0%, 68.1%, 83.5%, 64.3%)
CIE-LABlab(20.59, 27.62, 24.02)
CIE-LCHlch(20.59, 36.60, 41.00°)
OKLaboklab(32.59% 0.0781 0.053)
OKLCHoklch(32.59% 0.094 34.2)
XYZxyz(4.8405, 3.1381, 0.8027)
Luminance0.0314 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1D0F #0F4D5B
analogous
#5B0F27 #5B1D0F #5B430F
triadic
#5B1D0F #0F5B1D #1D0F5B
tetradic
#5B1D0F #275B0F #0F4D5B #430F5B
square
#5B1D0F #275B0F #0F4D5B #430F5B
split-complementary
#5B1D0F #0F5B43 #0F275B
monochromatic
#1A0804 #260C06 #5B1D0F #902E18 #C43E20

Accessibility & contrast

On white

12.90
#5B1D0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#5B1D0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1D0F
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1D0F#FFFFFF#000000##FFFFFF
##5B1D0F1.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F290D
Deuteranopia (green-blind)
#3E370D
Tritanopia (blue-blind)
#650D1A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5b1d0f;
/* rgb */ color: rgb(91, 29, 15);
/* oklch */ color: oklch(32.6% 0.094 34.2);
Tailwind
colors: {
  custom: {
    50: '#905c4e',
    500: '#5b1d0f',
    950: '#000000',
  },
}
SCSS
$custom: #5b1d0f;
$custom-light: #905c4e;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1d0f",
  "rgb": {
    "r": 91,
    "g": 29,
    "b": 15
  },
  "hsl": {
    "h": 11.053,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32592,
    "c": 0.09439,
    "h": 34.2
  },
  "luminance": 0.03137
}

Semantic roles & 50–950 ramp

primary
#5B1D0F
secondary
#318295
accent
#CDEE39
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977

Preview Lab

Preview with #5B1D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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