#5B1346#5B1346

#5B1346 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 33.1% C 0.118 H 342.2°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#5B1346
RGBrgb(91, 19, 70)
HSLhsl(318, 65%, 22%)
HSVhsv(318, 79%, 36%)
CMYKcmyk(0%, 79.1%, 23.1%, 64.3%)
CIE-LABlab(20.57, 37.55, -13.48)
CIE-LCHlch(20.57, 39.90, 340.25°)
OKLaboklab(33.09% 0.1128 -0.0362)
OKLCHoklch(33.09% 0.118 342.2)
XYZxyz(5.6529, 3.1327, 6.1001)
Luminance0.0313 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1346 #135B28
analogous
#4C135B #5B1346 #5B1322
triadic
#5B1346 #465B13 #13465B
tetradic
#5B1346 #5B4C13 #135B28 #13225B
square
#5B1346 #5B4C13 #135B28 #13225B
split-complementary
#5B1346 #225B13 #135B4C
monochromatic
#190513 #28081F #5B1346 #8E1E6D #C02894

Accessibility & contrast

On white

12.91
#5B1346 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B1346
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1346#FFFFFF#000000##FFFFFF
##5B13461.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2A47
Deuteranopia (green-blind)
#303644
Tritanopia (blue-blind)
#61142A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5b1346;
/* rgb */ color: rgb(91, 19, 70);
/* oklch */ color: oklch(33.1% 0.118 342.2);
Tailwind
colors: {
  custom: {
    50: '#8c5979',
    500: '#5b1346',
    950: '#000000',
  },
}
SCSS
$custom: #5b1346;
$custom-light: #8c5979;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1346",
  "rgb": {
    "r": 91,
    "g": 19,
    "b": 70
  },
  "hsl": {
    "h": 317.5,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33093,
    "c": 0.11847,
    "h": 342.2
  },
  "luminance": 0.03132
}

Semantic roles & 50–950 ramp

primary
#5B1346
secondary
#379352
accent
#E8713F
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0409
muted
#7D797B

Preview Lab

Preview with #5B1346

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

Preview Lab → · Contrast checker → · Palette generator →

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