#5D0E4D#5D0E4D

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

Color values

HEX#5D0E4D
RGBrgb(93, 14, 77)
HSLhsl(312, 74%, 21%)
HSVhsv(312, 85%, 36%)
CMYKcmyk(0%, 84.9%, 17.2%, 63.5%)
CIE-LABlab(20.74, 40.84, -17.96)
CIE-LCHlch(20.74, 44.61, 336.26°)
OKLaboklab(33.41% 0.1211 -0.0488)
OKLCHoklch(33.41% 0.131 338)
XYZxyz(6.0109, 3.1776, 7.3165)
Luminance0.0318 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D0E4D #0E5D1E
analogous
#450E5D #5D0E4D #5D0E25
triadic
#5D0E4D #4D5D0E #0E4D5D
tetradic
#5D0E4D #5D450E #0E5D1E #0E255D
square
#5D0E4D #5D450E #0E5D1E #0E255D
split-complementary
#5D0E4D #255D0E #0E5D45
monochromatic
#1B0416 #280621 #5D0E4D #921679 #C71EA5

Accessibility & contrast

On white

12.84
#5D0E4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D0E4D
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D0E4D#FFFFFF#000000##FFFFFF
##5D0E4D1.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122A4F
Deuteranopia (green-blind)
#2E364B
Tritanopia (blue-blind)
#63132D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5d0e4d;
/* rgb */ color: rgb(93, 14, 77);
/* oklch */ color: oklch(33.4% 0.131 338.0);
Tailwind
colors: {
  custom: {
    50: '#8e587f',
    500: '#5d0e4d',
    950: '#000000',
  },
}
SCSS
$custom: #5d0e4d;
$custom-light: #8e587f;
$custom-dark: #000000;
JSON
{
  "hex": "#5d0e4d",
  "rgb": {
    "r": 93,
    "g": 14,
    "b": 77
  },
  "hsl": {
    "h": 312.152,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.33411,
    "c": 0.13052,
    "h": 338
  },
  "luminance": 0.03177
}

Semantic roles & 50–950 ramp

primary
#5D0E4D
secondary
#309745
accent
#F05D37
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5D0E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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