#5B1A36#5B1A36

#5B1A36 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.1% C 0.099 H 357.4°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#5B1A36
RGBrgb(91, 26, 54)
HSLhsl(334, 56%, 23%)
HSVhsv(334, 71%, 36%)
CMYKcmyk(0%, 71.4%, 40.7%, 64.3%)
CIE-LABlab(20.94, 32.39, -1.84)
CIE-LCHlch(20.94, 32.44, 356.74°)
OKLaboklab(33.15% 0.0991 -0.0044)
OKLCHoklch(33.15% 0.099 357.4)
XYZxyz(5.3500, 3.2299, 3.8310)
Luminance0.0323 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1A36 #1A5B3F
analogous
#5B1A56 #5B1A36 #5B1E1A
triadic
#5B1A36 #365B1A #1A365B
tetradic
#5B1A36 #565B1A #1A5B3F #1E1A5B
square
#5B1A36 #565B1A #1A5B3F #1E1A5B
split-complementary
#5B1A36 #1A5B1E #1A565B
monochromatic
#18070E #2B0C1A #5B1A36 #8B2852 #BA356E

Accessibility & contrast

On white

12.76
#5B1A36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5B1A36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1A36
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1A36#FFFFFF#000000##FFFFFF
##5B1A361.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262B37
Deuteranopia (green-blind)
#383734
Tritanopia (blue-blind)
#631425
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5b1a36;
/* rgb */ color: rgb(91, 26, 54);
/* oklch */ color: oklch(33.1% 0.099 357.4);
Tailwind
colors: {
  custom: {
    50: '#8d5c6c',
    500: '#5b1a36',
    950: '#000000',
  },
}
SCSS
$custom: #5b1a36;
$custom-light: #8d5c6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1a36",
  "rgb": {
    "r": 91,
    "g": 26,
    "b": 54
  },
  "hsl": {
    "h": 334.154,
    "s": 55.556,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33146,
    "c": 0.09921,
    "h": 357.4
  },
  "luminance": 0.03229
}

Semantic roles & 50–950 ramp

primary
#5B1A36
secondary
#40916E
accent
#DF9E49
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0D0407
muted
#7D797A

Preview Lab

Preview with #5B1A36

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

Preview Lab → · Contrast checker → · Palette generator →

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