#5D1A4E#5D1A4E

#5D1A4E is a dark, moderate pink. Relative luminance 0.036; OKLCH L 34.6% C 0.116 H 338.0°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#5D1A4E
RGBrgb(93, 26, 78)
HSLhsl(313, 56%, 23%)
HSVhsv(313, 72%, 36%)
CMYKcmyk(0%, 72%, 16.1%, 63.5%)
CIE-LABlab(22.36, 36.56, -16.12)
CIE-LCHlch(22.36, 39.95, 336.21°)
OKLaboklab(34.6% 0.1079 -0.0436)
OKLCHoklch(34.6% 0.116 338)
XYZxyz(6.2589, 3.6166, 7.5747)
Luminance0.0362 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1A4E #1A5D29
analogous
#4A1A5D #5D1A4E #5D1A2C
triadic
#5D1A4E #4E5D1A #1A4E5D
tetradic
#5D1A4E #5D4A1A #1A5D29 #1A2C5D
square
#5D1A4E #5D4A1A #1A5D29 #1A2C5D
split-complementary
#5D1A4E #2C5D1A #1A5D4A
monochromatic
#180714 #2D0D26 #5D1A4E #8D2776 #BD359E

Accessibility & contrast

On white

12.19
#5D1A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#5D1A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1A4E
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1A4E#FFFFFF#000000##FFFFFF
##5D1A4E1.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2F50
Deuteranopia (green-blind)
#32394C
Tritanopia (blue-blind)
#621D31
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5d1a4e;
/* rgb */ color: rgb(93, 26, 78);
/* oklch */ color: oklch(34.6% 0.116 338.0);
Tailwind
colors: {
  custom: {
    50: '#8d5d7f',
    500: '#5d1a4e',
    950: '#000000',
  },
}
SCSS
$custom: #5d1a4e;
$custom-light: #8d5d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1a4e",
  "rgb": {
    "r": 93,
    "g": 26,
    "b": 78
  },
  "hsl": {
    "h": 313.433,
    "s": 56.303,
    "l": 23.333
  },
  "oklch": {
    "l": 0.346,
    "c": 0.11637,
    "h": 338
  },
  "luminance": 0.03616
}

Semantic roles & 50–950 ramp

primary
#5D1A4E
secondary
#409352
accent
#E06A48
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #5D1A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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