#5B0E49#5B0E49

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

Color values

HEX#5B0E49
RGBrgb(91, 14, 73)
HSLhsl(314, 73%, 21%)
HSVhsv(314, 85%, 36%)
CMYKcmyk(0%, 84.6%, 19.8%, 64.3%)
CIE-LABlab(20.12, 39.71, -16.23)
CIE-LCHlch(20.12, 42.90, 337.77°)
OKLaboklab(32.82% 0.1185 -0.0439)
OKLCHoklch(32.82% 0.126 339.7)
XYZxyz(5.6742, 3.0198, 6.5861)
Luminance0.0302 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B0E49 #0E5B20
analogous
#460E5B #5B0E49 #5B0E22
triadic
#5B0E49 #495B0E #0E495B
tetradic
#5B0E49 #5B460E #0E5B20 #0E225B
square
#5B0E49 #5B460E #0E5B20 #0E225B
split-complementary
#5B0E49 #225B0E #0E5B46
monochromatic
#1B0415 #26061E #5B0E49 #901674 #C51E9E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B0E49#FFFFFF#000000##FFFFFF
##5B0E491.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)
#14294B
Deuteranopia (green-blind)
#2E3547
Tritanopia (blue-blind)
#61112B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5b0e49;
/* rgb */ color: rgb(91, 14, 73);
/* oklch */ color: oklch(32.8% 0.126 339.7);
Tailwind
colors: {
  custom: {
    50: '#8d577c',
    500: '#5b0e49',
    950: '#000000',
  },
}
SCSS
$custom: #5b0e49;
$custom-light: #8d577c;
$custom-dark: #000000;
JSON
{
  "hex": "#5b0e49",
  "rgb": {
    "r": 91,
    "g": 14,
    "b": 73
  },
  "hsl": {
    "h": 314.026,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.32822,
    "c": 0.12636,
    "h": 339.7
  },
  "luminance": 0.03019
}

Semantic roles & 50–950 ramp

primary
#5B0E49
secondary
#309548
accent
#F06338
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C0409
muted
#7D797B

Preview Lab

Preview with #5B0E49

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

Preview Lab → · Contrast checker → · Palette generator →

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