#5B0E4D#5B0E4D

#5B0E4D is a dark, vivid pink. Relative luminance 0.031; OKLCH L 33.0% C 0.129 H 336.9°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#5B0E4D
RGBrgb(91, 14, 77)
HSLhsl(311, 73%, 21%)
HSVhsv(311, 85%, 36%)
CMYKcmyk(0%, 84.6%, 15.4%, 64.3%)
CIE-LABlab(20.34, 40.34, -18.62)
CIE-LCHlch(20.34, 44.43, 335.22°)
OKLaboklab(33.05% 0.1189 -0.0507)
OKLCHoklch(33.05% 0.129 336.9)
XYZxyz(5.8111, 3.0746, 7.3072)
Luminance0.0307 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B0E4D #0E5B1C
analogous
#420E5B #5B0E4D #5B0E26
triadic
#5B0E4D #4D5B0E #0E4D5B
tetradic
#5B0E4D #5B420E #0E5B1C #0E265B
square
#5B0E4D #5B420E #0E5B1C #0E265B
split-complementary
#5B0E4D #265B0E #0E5B42
monochromatic
#1B0416 #260620 #5B0E4D #90167A #C51EA7

Accessibility & contrast

On white

13.00
#5B0E4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B0E4D
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B0E4D#FFFFFF#000000##FFFFFF
##5B0E4D1.0013.001.6113.00
#FFFFFF13.001.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102A4F
Deuteranopia (green-blind)
#2C354B
Tritanopia (blue-blind)
#60142D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5b0e4d;
/* rgb */ color: rgb(91, 14, 77);
/* oklch */ color: oklch(33.0% 0.129 336.9);
Tailwind
colors: {
  custom: {
    50: '#8c577f',
    500: '#5b0e4d',
    950: '#000000',
  },
}
SCSS
$custom: #5b0e4d;
$custom-light: #8c577f;
$custom-dark: #000000;
JSON
{
  "hex": "#5b0e4d",
  "rgb": {
    "r": 91,
    "g": 14,
    "b": 77
  },
  "hsl": {
    "h": 310.909,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.33048,
    "c": 0.1293,
    "h": 336.9
  },
  "luminance": 0.03074
}

Semantic roles & 50–950 ramp

primary
#5B0E4D
secondary
#309542
accent
#F05938
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #5B0E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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