#5B1043#5B1043

#5B1043 is a dark, vivid pink. Relative luminance 0.030; OKLCH L 32.7% C 0.120 H 344.2°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#5B1043
RGBrgb(91, 16, 67)
HSLhsl(319, 70%, 21%)
HSVhsv(319, 82%, 36%)
CMYKcmyk(0%, 82.4%, 26.4%, 64.3%)
CIE-LABlab(20.05, 38.18, -12.22)
CIE-LCHlch(20.05, 40.08, 342.25°)
OKLaboklab(32.67% 0.1155 -0.0326)
OKLCHoklch(32.67% 0.12 344.2)
XYZxyz(5.5130, 3.0006, 5.5979)
Luminance0.0300 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1043 #105B28
analogous
#4D105B #5B1043 #5B101D
triadic
#5B1043 #435B10 #10435B
tetradic
#5B1043 #5B4D10 #105B28 #101D5B
square
#5B1043 #5B4D10 #105B28 #101D5B
split-complementary
#5B1043 #1D5B10 #105B4D
monochromatic
#1A0513 #27071D #5B1043 #8F1969 #C32290

Accessibility & contrast

On white

13.13
#5B1043 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#5B1043 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1043
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1043#FFFFFF#000000##FFFFFF
##5B10431.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192844
Deuteranopia (green-blind)
#303541
Tritanopia (blue-blind)
#620F28
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5b1043;
/* rgb */ color: rgb(91, 16, 67);
/* oklch */ color: oklch(32.7% 0.120 344.2);
Tailwind
colors: {
  custom: {
    50: '#8d5877',
    500: '#5b1043',
    950: '#000000',
  },
}
SCSS
$custom: #5b1043;
$custom-light: #8d5877;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1043",
  "rgb": {
    "r": 91,
    "g": 16,
    "b": 67
  },
  "hsl": {
    "h": 319.2,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32667,
    "c": 0.12002,
    "h": 344.2
  },
  "luminance": 0.03
}

Semantic roles & 50–950 ramp

primary
#5B1043
secondary
#339452
accent
#ED743B
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0D0408
muted
#7D797B

Preview Lab

Preview with #5B1043

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

Preview Lab → · Contrast checker → · Palette generator →

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