#5B1C0F#5B1C0F

#5B1C0F is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.5% C 0.095 H 33.4°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#5B1C0F
RGBrgb(91, 28, 15)
HSLhsl(10, 72%, 21%)
HSVhsv(10, 84%, 36%)
CMYKcmyk(0%, 69.2%, 83.5%, 64.3%)
CIE-LABlab(20.40, 28.13, 23.81)
CIE-LCHlch(20.40, 36.85, 40.24°)
OKLaboklab(32.45% 0.0796 0.0526)
OKLCHoklch(32.45% 0.095 33.4)
XYZxyz(4.8164, 3.0898, 0.7946)
Luminance0.0309 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1C0F #0F4E5B
analogous
#5B0F28 #5B1C0F #5B420F
triadic
#5B1C0F #0F5B1C #1C0F5B
tetradic
#5B1C0F #285B0F #0F4E5B #420F5B
square
#5B1C0F #285B0F #0F4E5B #420F5B
split-complementary
#5B1C0F #0F5B42 #0F285B
monochromatic
#1A0804 #260C06 #5B1C0F #902C18 #C43C20

Accessibility & contrast

On white

12.98
#5B1C0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#5B1C0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1C0F
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1C0F#FFFFFF#000000##FFFFFF
##5B1C0F1.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E280D
Deuteranopia (green-blind)
#3D360D
Tritanopia (blue-blind)
#650B19
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5b1c0f;
/* rgb */ color: rgb(91, 28, 15);
/* oklch */ color: oklch(32.5% 0.095 33.4);
Tailwind
colors: {
  custom: {
    50: '#905c4e',
    500: '#5b1c0f',
    950: '#000000',
  },
}
SCSS
$custom: #5b1c0f;
$custom-light: #905c4e;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1c0f",
  "rgb": {
    "r": 91,
    "g": 28,
    "b": 15
  },
  "hsl": {
    "h": 10.263,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.3245,
    "c": 0.09545,
    "h": 33.4
  },
  "luminance": 0.03089
}

Semantic roles & 50–950 ramp

primary
#5B1C0F
secondary
#318495
accent
#CFEE39
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977

Preview Lab

Preview with #5B1C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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