#5B1812#5B1812

#5B1812 is a dark, moderate red. Relative luminance 0.029; OKLCH L 32.0% C 0.099 H 28.9°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#5B1812
RGBrgb(91, 24, 18)
HSLhsl(5, 67%, 21%)
HSVhsv(5, 80%, 36%)
CMYKcmyk(0%, 73.6%, 80.2%, 64.3%)
CIE-LABlab(19.73, 30.18, 21.34)
CIE-LCHlch(19.73, 36.96, 35.26°)
OKLaboklab(31.96% 0.0867 0.0479)
OKLCHoklch(31.96% 0.099 28.9)
XYZxyz(4.7507, 2.9218, 0.8860)
Luminance0.0292 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1812 #12555B
analogous
#5B1231 #5B1812 #5B3D12
triadic
#5B1812 #125B18 #18125B
tetradic
#5B1812 #315B12 #12555B #3D125B
square
#5B1812 #315B12 #12555B #3D125B
split-complementary
#5B1812 #125B3D #12315B
monochromatic
#1A0705 #280B08 #5B1812 #8E251C #C13326

Accessibility & contrast

On white

13.26
#5B1812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#5B1812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1812
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1812#FFFFFF#000000##FFFFFF
##5B18121.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2611
Deuteranopia (green-blind)
#3C3510
Tritanopia (blue-blind)
#650417
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5b1812;
/* rgb */ color: rgb(91, 24, 18);
/* oklch */ color: oklch(32.0% 0.099 28.9);
Tailwind
colors: {
  custom: {
    50: '#905a50',
    500: '#5b1812',
    950: '#000000',
  },
}
SCSS
$custom: #5b1812;
$custom-light: #905a50;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1812",
  "rgb": {
    "r": 91,
    "g": 24,
    "b": 18
  },
  "hsl": {
    "h": 4.932,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31957,
    "c": 0.09906,
    "h": 28.9
  },
  "luminance": 0.02921
}

Semantic roles & 50–950 ramp

primary
#5B1812
secondary
#358C93
accent
#DCEA3E
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978

Preview Lab

Preview with #5B1812

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

Preview Lab → · Contrast checker → · Palette generator →

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