#5D0E4C#5D0E4C

#5D0E4C is a dark, vivid pink. Relative luminance 0.032; OKLCH L 33.4% C 0.130 H 338.7°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#5D0E4C
RGBrgb(93, 14, 76)
HSLhsl(313, 74%, 21%)
HSVhsv(313, 85%, 36%)
CMYKcmyk(0%, 84.9%, 18.3%, 63.5%)
CIE-LABlab(20.69, 40.68, -17.37)
CIE-LCHlch(20.69, 44.23, 336.88°)
OKLaboklab(33.36% 0.1209 -0.0471)
OKLCHoklch(33.36% 0.13 338.7)
XYZxyz(5.9759, 3.1636, 7.1320)
Luminance0.0316 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D0E4C #0E5D1F
analogous
#460E5D #5D0E4C #5D0E24
triadic
#5D0E4C #4C5D0E #0E4C5D
tetradic
#5D0E4C #5D460E #0E5D1F #0E245D
square
#5D0E4C #5D460E #0E5D1F #0E245D
split-complementary
#5D0E4C #245D0E #0E5D46
monochromatic
#1B0416 #280621 #5D0E4C #921677 #C71EA3

Accessibility & contrast

On white

12.86
#5D0E4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D0E4C
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D0E4C#FFFFFF#000000##FFFFFF
##5D0E4C1.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132A4E
Deuteranopia (green-blind)
#2E364A
Tritanopia (blue-blind)
#63122C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5d0e4c;
/* rgb */ color: rgb(93, 14, 76);
/* oklch */ color: oklch(33.4% 0.130 338.7);
Tailwind
colors: {
  custom: {
    50: '#8e587e',
    500: '#5d0e4c',
    950: '#000000',
  },
}
SCSS
$custom: #5d0e4c;
$custom-light: #8e587e;
$custom-dark: #000000;
JSON
{
  "hex": "#5d0e4c",
  "rgb": {
    "r": 93,
    "g": 14,
    "b": 76
  },
  "hsl": {
    "h": 312.911,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.33355,
    "c": 0.12979,
    "h": 338.7
  },
  "luminance": 0.03163
}

Semantic roles & 50–950 ramp

primary
#5D0E4C
secondary
#309746
accent
#F05F37
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5D0E4C

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

Preview Lab → · Contrast checker → · Palette generator →

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