#5D0E4B#5D0E4B

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

Color values

HEX#5D0E4B
RGBrgb(93, 14, 75)
HSLhsl(314, 74%, 21%)
HSVhsv(314, 85%, 36%)
CMYKcmyk(0%, 84.9%, 19.4%, 63.5%)
CIE-LABlab(20.63, 40.53, -16.77)
CIE-LCHlch(20.63, 43.86, 337.52°)
OKLaboklab(33.3% 0.1208 -0.0454)
OKLCHoklch(33.3% 0.129 339.4)
XYZxyz(5.9414, 3.1498, 6.9503)
Luminance0.0315 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D0E4B #0E5D20
analogous
#470E5D #5D0E4B #5D0E23
triadic
#5D0E4B #4B5D0E #0E4B5D
tetradic
#5D0E4B #5D470E #0E5D20 #0E235D
square
#5D0E4B #5D470E #0E5D20 #0E235D
split-complementary
#5D0E4B #235D0E #0E5D47
monochromatic
#1B0415 #280620 #5D0E4B #921676 #C71EA1

Accessibility & contrast

On white

12.89
#5D0E4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#5D0E4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D0E4B
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D0E4B#FFFFFF#000000##FFFFFF
##5D0E4B1.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142A4D
Deuteranopia (green-blind)
#2F3649
Tritanopia (blue-blind)
#63122C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5d0e4b;
/* rgb */ color: rgb(93, 14, 75);
/* oklch */ color: oklch(33.3% 0.129 339.4);
Tailwind
colors: {
  custom: {
    50: '#8e587d',
    500: '#5d0e4b',
    950: '#000000',
  },
}
SCSS
$custom: #5d0e4b;
$custom-light: #8e587d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d0e4b",
  "rgb": {
    "r": 93,
    "g": 14,
    "b": 75
  },
  "hsl": {
    "h": 313.671,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.33299,
    "c": 0.12907,
    "h": 339.4
  },
  "luminance": 0.03149
}

Semantic roles & 50–950 ramp

primary
#5D0E4B
secondary
#309747
accent
#F06237
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5D0E4B

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

Preview Lab → · Contrast checker → · Palette generator →

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