#5B1048#5B1048

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

Color values

HEX#5B1048
RGBrgb(91, 16, 72)
HSLhsl(315, 70%, 21%)
HSVhsv(315, 82%, 36%)
CMYKcmyk(0%, 82.4%, 20.9%, 64.3%)
CIE-LABlab(20.30, 38.92, -15.27)
CIE-LCHlch(20.30, 41.81, 338.57°)
OKLaboklab(32.93% 0.1164 -0.0412)
OKLCHoklch(32.93% 0.123 340.5)
XYZxyz(5.6695, 3.0632, 6.4223)
Luminance0.0306 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1048 #105B23
analogous
#48105B #5B1048 #5B1022
triadic
#5B1048 #485B10 #10485B
tetradic
#5B1048 #5B4810 #105B23 #10225B
square
#5B1048 #5B4810 #105B23 #10225B
split-complementary
#5B1048 #225B10 #105B48
monochromatic
#1A0515 #27071F #5B1048 #8F1971 #C3229A

Accessibility & contrast

On white

13.02
#5B1048 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B1048
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1048#FFFFFF#000000##FFFFFF
##5B10481.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162949
Deuteranopia (green-blind)
#2F3546
Tritanopia (blue-blind)
#61122B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5b1048;
/* rgb */ color: rgb(91, 16, 72);
/* oklch */ color: oklch(32.9% 0.123 340.5);
Tailwind
colors: {
  custom: {
    50: '#8c587b',
    500: '#5b1048',
    950: '#000000',
  },
}
SCSS
$custom: #5b1048;
$custom-light: #8c587b;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1048",
  "rgb": {
    "r": 91,
    "g": 16,
    "b": 72
  },
  "hsl": {
    "h": 315.2,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32929,
    "c": 0.12347,
    "h": 340.5
  },
  "luminance": 0.03063
}

Semantic roles & 50–950 ramp

primary
#5B1048
secondary
#33944B
accent
#ED683B
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0409
muted
#7D797B

Preview Lab

Preview with #5B1048

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

Preview Lab → · Contrast checker → · Palette generator →

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