#5B1046#5B1046

#5B1046 is a dark, vivid pink. Relative luminance 0.030; OKLCH L 32.8% C 0.122 H 342.0°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#5B1046
RGBrgb(91, 16, 70)
HSLhsl(317, 70%, 21%)
HSVhsv(317, 82%, 36%)
CMYKcmyk(0%, 82.4%, 23.1%, 64.3%)
CIE-LABlab(20.19, 38.62, -14.06)
CIE-LCHlch(20.19, 41.10, 339.99°)
OKLaboklab(32.82% 0.1161 -0.0378)
OKLCHoklch(32.82% 0.122 342)
XYZxyz(5.6054, 3.0375, 6.0843)
Luminance0.0304 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1046 #105B25
analogous
#4A105B #5B1046 #5B1020
triadic
#5B1046 #465B10 #10465B
tetradic
#5B1046 #5B4A10 #105B25 #10205B
square
#5B1046 #5B4A10 #105B25 #10205B
split-complementary
#5B1046 #205B10 #105B4A
monochromatic
#1A0514 #27071E #5B1046 #8F196E #C32296

Accessibility & contrast

On white

13.06
#5B1046 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#5B1046 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1046
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1046#FFFFFF#000000##FFFFFF
##5B10461.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172947
Deuteranopia (green-blind)
#2F3544
Tritanopia (blue-blind)
#61112A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5b1046;
/* rgb */ color: rgb(91, 16, 70);
/* oklch */ color: oklch(32.8% 0.122 342.0);
Tailwind
colors: {
  custom: {
    50: '#8d5879',
    500: '#5b1046',
    950: '#000000',
  },
}
SCSS
$custom: #5b1046;
$custom-light: #8d5879;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1046",
  "rgb": {
    "r": 91,
    "g": 16,
    "b": 70
  },
  "hsl": {
    "h": 316.8,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32822,
    "c": 0.12205,
    "h": 342
  },
  "luminance": 0.03037
}

Semantic roles & 50–950 ramp

primary
#5B1046
secondary
#33944E
accent
#ED6D3B
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0409
muted
#7D797B

Preview Lab

Preview with #5B1046

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

Preview Lab → · Contrast checker → · Palette generator →

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