#5B1A2E#5B1A2E

#5B1A2E is a dark, moderate pink. Relative luminance 0.032; OKLCH L 32.9% C 0.096 H 5.3°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#5B1A2E
RGBrgb(91, 26, 46)
HSLhsl(342, 56%, 23%)
HSVhsv(342, 71%, 36%)
CMYKcmyk(0%, 71.4%, 49.5%, 64.3%)
CIE-LABlab(20.68, 31.45, 3.36)
CIE-LCHlch(20.68, 31.63, 6.10°)
OKLaboklab(32.86% 0.0959 0.0089)
OKLCHoklch(32.86% 0.096 5.3)
XYZxyz(5.1773, 3.1608, 2.9217)
Luminance0.0316 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1A2E #1A5B47
analogous
#5B1A4F #5B1A2E #5B261A
triadic
#5B1A2E #2E5B1A #1A2E5B
tetradic
#5B1A2E #4F5B1A #1A5B47 #261A5B
square
#5B1A2E #4F5B1A #1A5B47 #261A5B
split-complementary
#5B1A2E #1A5B26 #1A4F5B
monochromatic
#18070C #2B0C16 #5B1A2E #8B2846 #BA355E

Accessibility & contrast

On white

12.87
#5B1A2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B1A2E
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1A2E#FFFFFF#000000##FFFFFF
##5B1A2E1.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282A2E
Deuteranopia (green-blind)
#39372C
Tritanopia (blue-blind)
#631122
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5b1a2e;
/* rgb */ color: rgb(91, 26, 46);
/* oklch */ color: oklch(32.9% 0.096 5.3);
Tailwind
colors: {
  custom: {
    50: '#8d5b66',
    500: '#5b1a2e',
    950: '#000000',
  },
}
SCSS
$custom: #5b1a2e;
$custom-light: #8d5b66;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1a2e",
  "rgb": {
    "r": 91,
    "g": 26,
    "b": 46
  },
  "hsl": {
    "h": 341.538,
    "s": 55.556,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32862,
    "c": 0.09636,
    "h": 5.3
  },
  "luminance": 0.0316
}

Semantic roles & 50–950 ramp

primary
#5B1A2E
secondary
#409178
accent
#DFB149
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0405
muted
#7E797A

Preview Lab

Preview with #5B1A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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