#5B1047#5B1047

#5B1047 is a dark, vivid pink. Relative luminance 0.030; OKLCH L 32.9% C 0.123 H 341.2°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#5B1047
RGBrgb(91, 16, 71)
HSLhsl(316, 70%, 21%)
HSVhsv(316, 82%, 36%)
CMYKcmyk(0%, 82.4%, 22%, 64.3%)
CIE-LABlab(20.24, 38.77, -14.67)
CIE-LCHlch(20.24, 41.45, 339.27°)
OKLaboklab(32.88% 0.1162 -0.0395)
OKLCHoklch(32.88% 0.123 341.2)
XYZxyz(5.6372, 3.0502, 6.2519)
Luminance0.0305 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1047 #105B24
analogous
#49105B #5B1047 #5B1021
triadic
#5B1047 #475B10 #10475B
tetradic
#5B1047 #5B4910 #105B24 #10215B
square
#5B1047 #5B4910 #105B24 #10215B
split-complementary
#5B1047 #215B10 #105B49
monochromatic
#1A0514 #27071E #5B1047 #8F1970 #C32298

Accessibility & contrast

On white

13.04
#5B1047 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B1047
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1047#FFFFFF#000000##FFFFFF
##5B10471.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172948
Deuteranopia (green-blind)
#2F3545
Tritanopia (blue-blind)
#61122A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5b1047;
/* rgb */ color: rgb(91, 16, 71);
/* oklch */ color: oklch(32.9% 0.123 341.2);
Tailwind
colors: {
  custom: {
    50: '#8d587a',
    500: '#5b1047',
    950: '#000000',
  },
}
SCSS
$custom: #5b1047;
$custom-light: #8d587a;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1047",
  "rgb": {
    "r": 91,
    "g": 16,
    "b": 71
  },
  "hsl": {
    "h": 316,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32875,
    "c": 0.12276,
    "h": 341.2
  },
  "luminance": 0.0305
}

Semantic roles & 50–950 ramp

primary
#5B1047
secondary
#33944D
accent
#ED6A3B
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0409
muted
#7D797B

Preview Lab

Preview with #5B1047

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

Preview Lab → · Contrast checker → · Palette generator →

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