#5B0E4A#5B0E4A

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

Color values

HEX#5B0E4A
RGBrgb(91, 14, 74)
HSLhsl(313, 73%, 21%)
HSVhsv(313, 85%, 36%)
CMYKcmyk(0%, 84.6%, 18.7%, 64.3%)
CIE-LABlab(20.18, 39.87, -16.83)
CIE-LCHlch(20.18, 43.27, 337.11°)
OKLaboklab(32.88% 0.1186 -0.0456)
OKLCHoklch(32.88% 0.127 339)
XYZxyz(5.7076, 3.0332, 6.7621)
Luminance0.0303 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B0E4A #0E5B1F
analogous
#450E5B #5B0E4A #5B0E23
triadic
#5B0E4A #4A5B0E #0E4A5B
tetradic
#5B0E4A #5B450E #0E5B1F #0E235B
square
#5B0E4A #5B450E #0E5B1F #0E235B
split-complementary
#5B0E4A #235B0E #0E5B45
monochromatic
#1B0416 #26061F #5B0E4A #901675 #C51EA0

Accessibility & contrast

On white

13.07
#5B0E4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B0E4A
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B0E4A#FFFFFF#000000##FFFFFF
##5B0E4A1.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13294C
Deuteranopia (green-blind)
#2D3548
Tritanopia (blue-blind)
#61122B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5b0e4a;
/* rgb */ color: rgb(91, 14, 74);
/* oklch */ color: oklch(32.9% 0.127 339.0);
Tailwind
colors: {
  custom: {
    50: '#8d577c',
    500: '#5b0e4a',
    950: '#000000',
  },
}
SCSS
$custom: #5b0e4a;
$custom-light: #8d577c;
$custom-dark: #000000;
JSON
{
  "hex": "#5b0e4a",
  "rgb": {
    "r": 91,
    "g": 14,
    "b": 74
  },
  "hsl": {
    "h": 313.247,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.32877,
    "c": 0.12708,
    "h": 339
  },
  "luminance": 0.03033
}

Semantic roles & 50–950 ramp

primary
#5B0E4A
secondary
#309546
accent
#F06038
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C0409
muted
#7D797B

Preview Lab

Preview with #5B0E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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