#5B121D#5B121D

#5B121D is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.5% C 0.104 H 17.5°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#5B121D
RGBrgb(91, 18, 29)
HSLhsl(351, 67%, 21%)
HSVhsv(351, 80%, 36%)
CMYKcmyk(0%, 80.2%, 68.1%, 64.3%)
CIE-LABlab(19.00, 33.36, 13.02)
CIE-LCHlch(19.00, 35.81, 21.32°)
OKLaboklab(31.47% 0.0994 0.0314)
OKLCHoklch(31.47% 0.104 17.5)
XYZxyz(4.7530, 2.7462, 1.4420)
Luminance0.0274 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B121D #125B50
analogous
#5B1242 #5B121D #5B2C12
triadic
#5B121D #1D5B12 #121D5B
tetradic
#5B121D #425B12 #125B50 #2C125B
square
#5B121D #425B12 #125B50 #2C125B
split-complementary
#5B121D #125B2C #12425B
monochromatic
#1A0508 #28080D #5B121D #8E1C2D #C1263E

Accessibility & contrast

On white

13.56
#5B121D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B121D
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B121D#FFFFFF#000000##FFFFFF
##5B121D1.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b121d;
/* rgb */ color: rgb(91, 18, 29);
/* oklch */ color: oklch(31.5% 0.104 17.5);
Tailwind
colors: {
  custom: {
    50: '#8f5758',
    500: '#5b121d',
    950: '#000000',
  },
}
SCSS
$custom: #5b121d;
$custom-light: #8f5758;
$custom-dark: #000000;
JSON
{
  "hex": "#5b121d",
  "rgb": {
    "r": 91,
    "g": 18,
    "b": 29
  },
  "hsl": {
    "h": 350.959,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31472,
    "c": 0.10424,
    "h": 17.5
  },
  "luminance": 0.02745
}

Semantic roles & 50–950 ramp

primary
#5B121D
secondary
#359385
accent
#EAD03E
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0303
muted
#7E7878

Preview Lab

Preview with #5B121D

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

Preview Lab → · Contrast checker → · Palette generator →

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