#5B1049#5B1049

#5B1049 is a dark, vivid pink. Relative luminance 0.031; OKLCH L 33.0% C 0.124 H 339.8°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#5B1049
RGBrgb(91, 16, 73)
HSLhsl(314, 70%, 21%)
HSVhsv(314, 82%, 36%)
CMYKcmyk(0%, 82.4%, 19.8%, 64.3%)
CIE-LABlab(20.35, 39.07, -15.88)
CIE-LCHlch(20.35, 42.17, 337.88°)
OKLaboklab(32.98% 0.1165 -0.0429)
OKLCHoklch(32.98% 0.124 339.8)
XYZxyz(5.7024, 3.0763, 6.5955)
Luminance0.0308 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1049 #105B22
analogous
#47105B #5B1049 #5B1023
triadic
#5B1049 #495B10 #10495B
tetradic
#5B1049 #5B4710 #105B22 #10235B
square
#5B1049 #5B4710 #105B22 #10235B
split-complementary
#5B1049 #235B10 #105B47
monochromatic
#1A0515 #27071F #5B1049 #8F1973 #C3229D

Accessibility & contrast

On white

13.00
#5B1049 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B1049
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1049#FFFFFF#000000##FFFFFF
##5B10491.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152A4B
Deuteranopia (green-blind)
#2E3547
Tritanopia (blue-blind)
#61132B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5b1049;
/* rgb */ color: rgb(91, 16, 73);
/* oklch */ color: oklch(33.0% 0.124 339.8);
Tailwind
colors: {
  custom: {
    50: '#8c587c',
    500: '#5b1049',
    950: '#000000',
  },
}
SCSS
$custom: #5b1049;
$custom-light: #8c587c;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1049",
  "rgb": {
    "r": 91,
    "g": 16,
    "b": 73
  },
  "hsl": {
    "h": 314.4,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32983,
    "c": 0.1242,
    "h": 339.8
  },
  "luminance": 0.03076
}

Semantic roles & 50–950 ramp

primary
#5B1049
secondary
#33944A
accent
#ED663B
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C0409
muted
#7D797B

Preview Lab

Preview with #5B1049

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

Preview Lab → · Contrast checker → · Palette generator →

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