#5B1045#5B1045

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

Color values

HEX#5B1045
RGBrgb(91, 16, 69)
HSLhsl(318, 70%, 21%)
HSVhsv(318, 82%, 36%)
CMYKcmyk(0%, 82.4%, 24.2%, 64.3%)
CIE-LABlab(20.14, 38.47, -13.45)
CIE-LCHlch(20.14, 40.75, 340.73°)
OKLaboklab(32.77% 0.1159 -0.0361)
OKLCHoklch(32.77% 0.121 342.7)
XYZxyz(5.5741, 3.0250, 5.9194)
Luminance0.0302 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1045 #105B26
analogous
#4B105B #5B1045 #5B101F
triadic
#5B1045 #455B10 #10455B
tetradic
#5B1045 #5B4B10 #105B26 #101F5B
square
#5B1045 #5B4B10 #105B26 #101F5B
split-complementary
#5B1045 #1F5B10 #105B4B
monochromatic
#1A0514 #27071E #5B1045 #8F196C #C32294

Accessibility & contrast

On white

13.09
#5B1045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B1045
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1045#FFFFFF#000000##FFFFFF
##5B10451.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182946
Deuteranopia (green-blind)
#303543
Tritanopia (blue-blind)
#611129
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5b1045;
/* rgb */ color: rgb(91, 16, 69);
/* oklch */ color: oklch(32.8% 0.121 342.7);
Tailwind
colors: {
  custom: {
    50: '#8d5878',
    500: '#5b1045',
    950: '#000000',
  },
}
SCSS
$custom: #5b1045;
$custom-light: #8d5878;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1045",
  "rgb": {
    "r": 91,
    "g": 16,
    "b": 69
  },
  "hsl": {
    "h": 317.6,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.3277,
    "c": 0.12136,
    "h": 342.7
  },
  "luminance": 0.03024
}

Semantic roles & 50–950 ramp

primary
#5B1045
secondary
#33944F
accent
#ED6F3B
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0409
muted
#7D797B

Preview Lab

Preview with #5B1045

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

Preview Lab → · Contrast checker → · Palette generator →

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