#5B1A0E#5B1A0E

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

Color values

HEX#5B1A0E
RGBrgb(91, 26, 14)
HSLhsl(9, 73%, 21%)
HSVhsv(9, 85%, 36%)
CMYKcmyk(0%, 71.4%, 84.6%, 64.3%)
CIE-LABlab(20.03, 29.07, 23.90)
CIE-LCHlch(20.03, 37.63, 39.43°)
OKLaboklab(32.17% 0.0823 0.0528)
OKLCHoklch(32.17% 0.098 32.6)
XYZxyz(4.7636, 2.9953, 0.7427)
Luminance0.0300 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1A0E #0E4F5B
analogous
#5B0E28 #5B1A0E #5B400E
triadic
#5B1A0E #0E5B1A #1A0E5B
tetradic
#5B1A0E #285B0E #0E4F5B #400E5B
square
#5B1A0E #285B0E #0E4F5B #400E5B
split-complementary
#5B1A0E #0E5B40 #0E285B
monochromatic
#1B0804 #260B06 #5B1A0E #902916 #C5381E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B1A0E#FFFFFF#000000##FFFFFF
##5B1A0E1.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)
#2D270C
Deuteranopia (green-blind)
#3D360B
Tritanopia (blue-blind)
#650718
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5b1a0e;
/* rgb */ color: rgb(91, 26, 14);
/* oklch */ color: oklch(32.2% 0.098 32.6);
Tailwind
colors: {
  custom: {
    50: '#905a4d',
    500: '#5b1a0e',
    950: '#000000',
  },
}
SCSS
$custom: #5b1a0e;
$custom-light: #905a4d;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1a0e",
  "rgb": {
    "r": 91,
    "g": 26,
    "b": 14
  },
  "hsl": {
    "h": 9.351,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.32165,
    "c": 0.09778,
    "h": 32.6
  },
  "luminance": 0.02995
}

Semantic roles & 50–950 ramp

primary
#5B1A0E
secondary
#308595
accent
#D3F038
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977

Preview Lab

Preview with #5B1A0E

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

Preview Lab → · Contrast checker → · Palette generator →

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