#5B0E4B#5B0E4B

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

Color values

HEX#5B0E4B
RGBrgb(91, 14, 75)
HSLhsl(312, 73%, 21%)
HSVhsv(312, 85%, 36%)
CMYKcmyk(0%, 84.6%, 17.6%, 64.3%)
CIE-LABlab(20.23, 40.02, -17.43)
CIE-LCHlch(20.23, 43.65, 336.47°)
OKLaboklab(32.93% 0.1187 -0.0473)
OKLCHoklch(32.93% 0.128 338.3)
XYZxyz(5.7416, 3.0468, 6.9410)
Luminance0.0305 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B0E4B #0E5B1E
analogous
#440E5B #5B0E4B #5B0E24
triadic
#5B0E4B #4B5B0E #0E4B5B
tetradic
#5B0E4B #5B440E #0E5B1E #0E245B
square
#5B0E4B #5B440E #0E5B1E #0E245B
split-complementary
#5B0E4B #245B0E #0E5B44
monochromatic
#1B0416 #26061F #5B0E4B #901677 #C51EA2

Accessibility & contrast

On white

13.05
#5B0E4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B0E4B
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B0E4B#FFFFFF#000000##FFFFFF
##5B0E4B1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12294D
Deuteranopia (green-blind)
#2D3549
Tritanopia (blue-blind)
#61122C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5b0e4b;
/* rgb */ color: rgb(91, 14, 75);
/* oklch */ color: oklch(32.9% 0.128 338.3);
Tailwind
colors: {
  custom: {
    50: '#8d577d',
    500: '#5b0e4b',
    950: '#000000',
  },
}
SCSS
$custom: #5b0e4b;
$custom-light: #8d577d;
$custom-dark: #000000;
JSON
{
  "hex": "#5b0e4b",
  "rgb": {
    "r": 91,
    "g": 14,
    "b": 75
  },
  "hsl": {
    "h": 312.468,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.32934,
    "c": 0.12782,
    "h": 338.3
  },
  "luminance": 0.03046
}

Semantic roles & 50–950 ramp

primary
#5B0E4B
secondary
#309545
accent
#F05E38
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C0409
muted
#7D797B

Preview Lab

Preview with #5B0E4B

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

Preview Lab → · Contrast checker → · Palette generator →

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