#5B140D#5B140D

#5B140D is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.4% C 0.104 H 29.7°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#5B140D
RGBrgb(91, 20, 13)
HSLhsl(5, 75%, 20%)
HSVhsv(5, 86%, 36%)
CMYKcmyk(0%, 78%, 85.7%, 64.3%)
CIE-LABlab(19.03, 31.71, 23.26)
CIE-LCHlch(19.03, 39.33, 36.26°)
OKLaboklab(31.42% 0.0904 0.0515)
OKLCHoklch(31.42% 0.104 29.7)
XYZxyz(4.6377, 2.7542, 0.6681)
Luminance0.0275 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B140D #0D545B
analogous
#5B0D2D #5B140D #5B3B0D
triadic
#5B140D #0D5B14 #140D5B
tetradic
#5B140D #2D5B0D #0D545B #3B0D5B
square
#5B140D #2D5B0D #0D545B #3B0D5B
split-complementary
#5B140D #0D5B3B #0D2D5B
monochromatic
#1B0604 #250805 #5B140D #912015 #C62C1C

Accessibility & contrast

On white

13.54
#5B140D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#5B140D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B140D
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B140D#FFFFFF#000000##FFFFFF
##5B140D1.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29240B
Deuteranopia (green-blind)
#3B340A
Tritanopia (blue-blind)
#650013
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5b140d;
/* rgb */ color: rgb(91, 20, 13);
/* oklch */ color: oklch(31.4% 0.104 29.7);
Tailwind
colors: {
  custom: {
    50: '#90574d',
    500: '#5b140d',
    950: '#000000',
  },
}
SCSS
$custom: #5b140d;
$custom-light: #90574d;
$custom-dark: #000000;
JSON
{
  "hex": "#5b140d",
  "rgb": {
    "r": 91,
    "g": 20,
    "b": 13
  },
  "hsl": {
    "h": 5.385,
    "s": 75,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31417,
    "c": 0.10402,
    "h": 29.7
  },
  "luminance": 0.02754
}

Semantic roles & 50–950 ramp

primary
#5B140D
secondary
#2F8C95
accent
#E1F236
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0301
muted
#7E7877

Preview Lab

Preview with #5B140D

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

Preview Lab → · Contrast checker → · Palette generator →

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