#5B1A2B#5B1A2B

#5B1A2B is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.8% C 0.096 H 8.3°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#5B1A2B
RGBrgb(91, 26, 43)
HSLhsl(344, 56%, 23%)
HSVhsv(344, 71%, 36%)
CMYKcmyk(0%, 71.4%, 52.7%, 64.3%)
CIE-LABlab(20.59, 31.13, 5.34)
CIE-LCHlch(20.59, 31.58, 9.73°)
OKLaboklab(32.77% 0.0947 0.0138)
OKLCHoklch(32.77% 0.096 8.3)
XYZxyz(5.1202, 3.1380, 2.6211)
Luminance0.0314 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1A2B #1A5B4A
analogous
#5B1A4B #5B1A2B #5B291A
triadic
#5B1A2B #2B5B1A #1A2B5B
tetradic
#5B1A2B #4B5B1A #1A5B4A #291A5B
square
#5B1A2B #4B5B1A #1A5B4A #291A5B
split-complementary
#5B1A2B #1A5B29 #1A4B5B
monochromatic
#18070B #2B0C15 #5B1A2B #8B2841 #BA3558

Accessibility & contrast

On white

12.90
#5B1A2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#5B1A2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1A2B
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1A2B#FFFFFF#000000##FFFFFF
##5B1A2B1.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29292B
Deuteranopia (green-blind)
#3A3629
Tritanopia (blue-blind)
#641021
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5b1a2b;
/* rgb */ color: rgb(91, 26, 43);
/* oklch */ color: oklch(32.8% 0.096 8.3);
Tailwind
colors: {
  custom: {
    50: '#8d5b64',
    500: '#5b1a2b',
    950: '#000000',
  },
}
SCSS
$custom: #5b1a2b;
$custom-light: #8d5b64;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1a2b",
  "rgb": {
    "r": 91,
    "g": 26,
    "b": 43
  },
  "hsl": {
    "h": 344.308,
    "s": 55.556,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32768,
    "c": 0.09567,
    "h": 8.3
  },
  "luminance": 0.03137
}

Semantic roles & 50–950 ramp

primary
#5B1A2B
secondary
#40917C
accent
#DFB849
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0405
muted
#7E7979

Preview Lab

Preview with #5B1A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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