#5D0E4E#5D0E4E

#5D0E4E is a dark, vivid pink. Relative luminance 0.032; OKLCH L 33.5% C 0.131 H 337.4°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#5D0E4E
RGBrgb(93, 14, 78)
HSLhsl(311, 74%, 21%)
HSVhsv(311, 85%, 36%)
CMYKcmyk(0%, 84.9%, 16.1%, 63.5%)
CIE-LABlab(20.80, 40.99, -18.56)
CIE-LCHlch(20.80, 45.00, 335.65°)
OKLaboklab(33.47% 0.1212 -0.0505)
OKLCHoklch(33.47% 0.131 337.4)
XYZxyz(6.0465, 3.1919, 7.5039)
Luminance0.0319 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D0E4E #0E5D1D
analogous
#440E5D #5D0E4E #5D0E26
triadic
#5D0E4E #4E5D0E #0E4E5D
tetradic
#5D0E4E #5D440E #0E5D1D #0E265D
square
#5D0E4E #5D440E #0E5D1D #0E265D
split-complementary
#5D0E4E #265D0E #0E5D44
monochromatic
#1B0416 #280621 #5D0E4E #92167B #C71EA7

Accessibility & contrast

On white

12.82
#5D0E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#5D0E4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D0E4E
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D0E4E#FFFFFF#000000##FFFFFF
##5D0E4E1.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112A50
Deuteranopia (green-blind)
#2D364C
Tritanopia (blue-blind)
#63132D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5d0e4e;
/* rgb */ color: rgb(93, 14, 78);
/* oklch */ color: oklch(33.5% 0.131 337.4);
Tailwind
colors: {
  custom: {
    50: '#8e5880',
    500: '#5d0e4e',
    950: '#000000',
  },
}
SCSS
$custom: #5d0e4e;
$custom-light: #8e5880;
$custom-dark: #000000;
JSON
{
  "hex": "#5d0e4e",
  "rgb": {
    "r": 93,
    "g": 14,
    "b": 78
  },
  "hsl": {
    "h": 311.392,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.33469,
    "c": 0.13126,
    "h": 337.4
  },
  "luminance": 0.03191
}

Semantic roles & 50–950 ramp

primary
#5D0E4E
secondary
#309744
accent
#F05A37
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5D0E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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