#5B1343#5B1343

#5B1343 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.9% C 0.116 H 344.5°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#5B1343
RGBrgb(91, 19, 67)
HSLhsl(320, 65%, 22%)
HSVhsv(320, 79%, 36%)
CMYKcmyk(0%, 79.1%, 26.4%, 64.3%)
CIE-LABlab(20.42, 37.11, -11.64)
CIE-LCHlch(20.42, 38.89, 342.58°)
OKLaboklab(32.94% 0.1122 -0.031)
OKLCHoklch(32.94% 0.116 344.5)
XYZxyz(5.5606, 3.0957, 5.6138)
Luminance0.0309 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1343 #135B2B
analogous
#4F135B #5B1343 #5B131F
triadic
#5B1343 #435B13 #13435B
tetradic
#5B1343 #5B4F13 #135B2B #131F5B
square
#5B1343 #5B4F13 #135B2B #131F5B
split-complementary
#5B1343 #1F5B13 #135B4F
monochromatic
#190513 #28081E #5B1343 #8E1E68 #C0288E

Accessibility & contrast

On white

12.97
#5B1343 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#5B1343 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1343
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1343#FFFFFF#000000##FFFFFF
##5B13431.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2A44
Deuteranopia (green-blind)
#313641
Tritanopia (blue-blind)
#611229
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5b1343;
/* rgb */ color: rgb(91, 19, 67);
/* oklch */ color: oklch(32.9% 0.116 344.5);
Tailwind
colors: {
  custom: {
    50: '#8c5977',
    500: '#5b1343',
    950: '#000000',
  },
}
SCSS
$custom: #5b1343;
$custom-light: #8c5977;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1343",
  "rgb": {
    "r": 91,
    "g": 19,
    "b": 67
  },
  "hsl": {
    "h": 320,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32941,
    "c": 0.1164,
    "h": 344.5
  },
  "luminance": 0.03095
}

Semantic roles & 50–950 ramp

primary
#5B1343
secondary
#379355
accent
#E8783F
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0408
muted
#7D797B

Preview Lab

Preview with #5B1343

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

Preview Lab → · Contrast checker → · Palette generator →

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