#5B131F#5B131F

#5B131F is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.6% C 0.103 H 16.2°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#5B131F
RGBrgb(91, 19, 31)
HSLhsl(350, 65%, 22%)
HSVhsv(350, 79%, 36%)
CMYKcmyk(0%, 79.1%, 65.9%, 64.3%)
CIE-LABlab(19.18, 33.11, 11.85)
CIE-LCHlch(19.18, 35.17, 19.70°)
OKLaboklab(31.62% 0.0991 0.0289)
OKLCHoklch(31.62% 0.103 16.2)
XYZxyz(4.7951, 2.7895, 1.5820)
Luminance0.0279 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B131F #135B4F
analogous
#5B1343 #5B131F #5B2B13
triadic
#5B131F #1F5B13 #131F5B
tetradic
#5B131F #435B13 #135B4F #2B135B
square
#5B131F #435B13 #135B4F #2B135B
split-complementary
#5B131F #135B2B #13435B
monochromatic
#190509 #28080E #5B131F #8E1E30 #C02841

Accessibility & contrast

On white

13.48
#5B131F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#5B131F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B131F
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B131F#FFFFFF#000000##FFFFFF
##5B131F1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27251F
Deuteranopia (green-blind)
#39341D
Tritanopia (blue-blind)
#640018
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5b131f;
/* rgb */ color: rgb(91, 19, 31);
/* oklch */ color: oklch(31.6% 0.103 16.2);
Tailwind
colors: {
  custom: {
    50: '#8f575a',
    500: '#5b131f',
    950: '#000000',
  },
}
SCSS
$custom: #5b131f;
$custom-light: #8f575a;
$custom-dark: #000000;
JSON
{
  "hex": "#5b131f",
  "rgb": {
    "r": 91,
    "g": 19,
    "b": 31
  },
  "hsl": {
    "h": 350,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31622,
    "c": 0.10318,
    "h": 16.2
  },
  "luminance": 0.02789
}

Semantic roles & 50–950 ramp

primary
#5B131F
secondary
#379384
accent
#E8CC3F
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0303
muted
#7E7878

Preview Lab

Preview with #5B131F

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

Preview Lab → · Contrast checker → · Palette generator →

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