#5B131B#5B131B

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

Color values

HEX#5B131B
RGBrgb(91, 19, 27)
HSLhsl(353, 65%, 22%)
HSVhsv(353, 79%, 36%)
CMYKcmyk(0%, 79.1%, 70.3%, 64.3%)
CIE-LABlab(19.10, 32.83, 14.55)
CIE-LCHlch(19.10, 35.91, 23.90°)
OKLaboklab(31.53% 0.0973 0.0346)
OKLCHoklch(31.53% 0.103 19.6)
XYZxyz(4.7456, 2.7697, 1.3214)
Luminance0.0277 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B131B #135B53
analogous
#5B133F #5B131B #5B2F13
triadic
#5B131B #1B5B13 #131B5B
tetradic
#5B131B #3F5B13 #135B53 #2F135B
square
#5B131B #3F5B13 #135B53 #2F135B
split-complementary
#5B131B #135B2F #133F5B
monochromatic
#190508 #28080C #5B131B #8E1E2A #C02839

Accessibility & contrast

On white

13.52
#5B131B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B131B
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B131B#FFFFFF#000000##FFFFFF
##5B131B1.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27251B
Deuteranopia (green-blind)
#393419
Tritanopia (blue-blind)
#650017
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5b131b;
/* rgb */ color: rgb(91, 19, 27);
/* oklch */ color: oklch(31.5% 0.103 19.6);
Tailwind
colors: {
  custom: {
    50: '#8f5757',
    500: '#5b131b',
    950: '#000000',
  },
}
SCSS
$custom: #5b131b;
$custom-light: #8f5757;
$custom-dark: #000000;
JSON
{
  "hex": "#5b131b",
  "rgb": {
    "r": 91,
    "g": 19,
    "b": 27
  },
  "hsl": {
    "h": 353.333,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31533,
    "c": 0.10323,
    "h": 19.6
  },
  "luminance": 0.02769
}

Semantic roles & 50–950 ramp

primary
#5B131B
secondary
#379389
accent
#E8D63F
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0303
muted
#7E7878

Preview Lab

Preview with #5B131B

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

Preview Lab → · Contrast checker → · Palette generator →

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