#5B131C#5B131C

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

Color values

HEX#5B131C
RGBrgb(91, 19, 28)
HSLhsl(353, 65%, 22%)
HSVhsv(353, 79%, 36%)
CMYKcmyk(0%, 79.1%, 69.2%, 64.3%)
CIE-LABlab(19.12, 32.90, 13.88)
CIE-LCHlch(19.12, 35.71, 22.87°)
OKLaboklab(31.55% 0.0977 0.0332)
OKLCHoklch(31.55% 0.103 18.8)
XYZxyz(4.7574, 2.7744, 1.3834)
Luminance0.0277 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B131C #135B52
analogous
#5B1340 #5B131C #5B2E13
triadic
#5B131C #1C5B13 #131C5B
tetradic
#5B131C #405B13 #135B52 #2E135B
square
#5B131C #405B13 #135B52 #2E135B
split-complementary
#5B131C #135B2E #13405B
monochromatic
#190508 #28080C #5B131C #8E1E2C #C0283B

Accessibility & contrast

On white

13.51
#5B131C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B131C
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B131C#FFFFFF#000000##FFFFFF
##5B131C1.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b131c;
/* rgb */ color: rgb(91, 19, 28);
/* oklch */ color: oklch(31.6% 0.103 18.8);
Tailwind
colors: {
  custom: {
    50: '#8f5757',
    500: '#5b131c',
    950: '#000000',
  },
}
SCSS
$custom: #5b131c;
$custom-light: #8f5757;
$custom-dark: #000000;
JSON
{
  "hex": "#5b131c",
  "rgb": {
    "r": 91,
    "g": 19,
    "b": 28
  },
  "hsl": {
    "h": 352.5,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31554,
    "c": 0.10319,
    "h": 18.8
  },
  "luminance": 0.02774
}

Semantic roles & 50–950 ramp

primary
#5B131C
secondary
#379388
accent
#E8D33F
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0303
muted
#7E7878

Preview Lab

Preview with #5B131C

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

Preview Lab → · Contrast checker → · Palette generator →

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