#5B131D#5B131D

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

Color values

HEX#5B131D
RGBrgb(91, 19, 29)
HSLhsl(352, 65%, 22%)
HSVhsv(352, 79%, 36%)
CMYKcmyk(0%, 79.1%, 68.1%, 64.3%)
CIE-LABlab(19.14, 32.97, 13.20)
CIE-LCHlch(19.14, 35.51, 21.82°)
OKLaboklab(31.58% 0.0982 0.0318)
OKLCHoklch(31.58% 0.103 17.9)
XYZxyz(4.7695, 2.7793, 1.4475)
Luminance0.0278 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B131D #135B51
analogous
#5B1341 #5B131D #5B2D13
triadic
#5B131D #1D5B13 #131D5B
tetradic
#5B131D #415B13 #135B51 #2D135B
square
#5B131D #415B13 #135B51 #2D135B
split-complementary
#5B131D #135B2D #13415B
monochromatic
#190508 #28080D #5B131D #8E1E2D #C0283D

Accessibility & contrast

On white

13.50
#5B131D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B131D
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B131D#FFFFFF#000000##FFFFFF
##5B131D1.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27251D
Deuteranopia (green-blind)
#39341B
Tritanopia (blue-blind)
#640017
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5b131d;
/* rgb */ color: rgb(91, 19, 29);
/* oklch */ color: oklch(31.6% 0.103 17.9);
Tailwind
colors: {
  custom: {
    50: '#8f5758',
    500: '#5b131d',
    950: '#000000',
  },
}
SCSS
$custom: #5b131d;
$custom-light: #8f5758;
$custom-dark: #000000;
JSON
{
  "hex": "#5b131d",
  "rgb": {
    "r": 91,
    "g": 19,
    "b": 29
  },
  "hsl": {
    "h": 351.667,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31576,
    "c": 0.10317,
    "h": 17.9
  },
  "luminance": 0.02779
}

Semantic roles & 50–950 ramp

primary
#5B131D
secondary
#379386
accent
#E8D13F
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0303
muted
#7E7878

Preview Lab

Preview with #5B131D

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

Preview Lab → · Contrast checker → · Palette generator →

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