#5B1349#5B1349

#5B1349 is a dark, vivid pink. Relative luminance 0.032; OKLCH L 33.3% C 0.121 H 340.0°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#5B1349
RGBrgb(91, 19, 73)
HSLhsl(315, 65%, 22%)
HSVhsv(315, 79%, 36%)
CMYKcmyk(0%, 79.1%, 19.8%, 64.3%)
CIE-LABlab(20.72, 38.01, -15.30)
CIE-LCHlch(20.72, 40.98, 338.07°)
OKLaboklab(33.25% 0.1133 -0.0413)
OKLCHoklch(33.25% 0.121 340)
XYZxyz(5.7500, 3.1715, 6.6114)
Luminance0.0317 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1349 #135B25
analogous
#49135B #5B1349 #5B1325
triadic
#5B1349 #495B13 #13495B
tetradic
#5B1349 #5B4913 #135B25 #13255B
square
#5B1349 #5B4913 #135B25 #13255B
split-complementary
#5B1349 #255B13 #135B49
monochromatic
#190514 #280820 #5B1349 #8E1E72 #C0289A

Accessibility & contrast

On white

12.85
#5B1349 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B1349
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1349#FFFFFF#000000##FFFFFF
##5B13491.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182B4A
Deuteranopia (green-blind)
#2F3647
Tritanopia (blue-blind)
#61152C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5b1349;
/* rgb */ color: rgb(91, 19, 73);
/* oklch */ color: oklch(33.3% 0.121 340.0);
Tailwind
colors: {
  custom: {
    50: '#8c597c',
    500: '#5b1349',
    950: '#000000',
  },
}
SCSS
$custom: #5b1349;
$custom-light: #8c597c;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1349",
  "rgb": {
    "r": 91,
    "g": 19,
    "b": 73
  },
  "hsl": {
    "h": 315,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33251,
    "c": 0.12064,
    "h": 340
  },
  "luminance": 0.03171
}

Semantic roles & 50–950 ramp

primary
#5B1349
secondary
#37934E
accent
#E86A3F
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C0409
muted
#7D797B

Preview Lab

Preview with #5B1349

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

Preview Lab → · Contrast checker → · Palette generator →

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