#5B131E#5B131E

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

Color values

HEX#5B131E
RGBrgb(91, 19, 30)
HSLhsl(351, 65%, 22%)
HSVhsv(351, 79%, 36%)
CMYKcmyk(0%, 79.1%, 67%, 64.3%)
CIE-LABlab(19.16, 33.04, 12.53)
CIE-LCHlch(19.16, 35.34, 20.77°)
OKLaboklab(31.6% 0.0986 0.0303)
OKLCHoklch(31.6% 0.103 17.1)
XYZxyz(4.7821, 2.7843, 1.5137)
Luminance0.0278 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B131E #135B50
analogous
#5B1342 #5B131E #5B2C13
triadic
#5B131E #1E5B13 #131E5B
tetradic
#5B131E #425B13 #135B50 #2C135B
square
#5B131E #425B13 #135B50 #2C135B
split-complementary
#5B131E #135B2C #13425B
monochromatic
#190508 #28080D #5B131E #8E1E2F #C0283F

Accessibility & contrast

On white

13.49
#5B131E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B131E
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B131E#FFFFFF#000000##FFFFFF
##5B131E1.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b131e;
/* rgb */ color: rgb(91, 19, 30);
/* oklch */ color: oklch(31.6% 0.103 17.1);
Tailwind
colors: {
  custom: {
    50: '#8f5759',
    500: '#5b131e',
    950: '#000000',
  },
}
SCSS
$custom: #5b131e;
$custom-light: #8f5759;
$custom-dark: #000000;
JSON
{
  "hex": "#5b131e",
  "rgb": {
    "r": 91,
    "g": 19,
    "b": 30
  },
  "hsl": {
    "h": 350.833,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31599,
    "c": 0.10317,
    "h": 17.1
  },
  "luminance": 0.02784
}

Semantic roles & 50–950 ramp

primary
#5B131E
secondary
#379385
accent
#E8CF3F
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0303
muted
#7E7878

Preview Lab

Preview with #5B131E

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

Preview Lab → · Contrast checker → · Palette generator →

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