#5D104A#5D104A

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

Color values

HEX#5D104A
RGBrgb(93, 16, 74)
HSLhsl(315, 71%, 21%)
HSVhsv(315, 83%, 36%)
CMYKcmyk(0%, 82.8%, 20.4%, 63.5%)
CIE-LABlab(20.80, 39.75, -15.83)
CIE-LCHlch(20.80, 42.79, 338.29°)
OKLaboklab(33.4% 0.1188 -0.0428)
OKLCHoklch(33.4% 0.126 340.2)
XYZxyz(5.9357, 3.1928, 6.7809)
Luminance0.0319 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D104A #105D23
analogous
#4A105D #5D104A #5D1024
triadic
#5D104A #4A5D10 #104A5D
tetradic
#5D104A #5D4A10 #105D23 #10245D
square
#5D104A #5D4A10 #105D23 #10245D
split-complementary
#5D104A #245D10 #105D4A
monochromatic
#1A0415 #290720 #5D104A #911974 #C5229D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D104A#FFFFFF#000000##FFFFFF
##5D104A1.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)
#162A4C
Deuteranopia (green-blind)
#303648
Tritanopia (blue-blind)
#63132C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5d104a;
/* rgb */ color: rgb(93, 16, 74);
/* oklch */ color: oklch(33.4% 0.126 340.2);
Tailwind
colors: {
  custom: {
    50: '#8e587c',
    500: '#5d104a',
    950: '#000000',
  },
}
SCSS
$custom: #5d104a;
$custom-light: #8e587c;
$custom-dark: #000000;
JSON
{
  "hex": "#5d104a",
  "rgb": {
    "r": 93,
    "g": 16,
    "b": 74
  },
  "hsl": {
    "h": 314.805,
    "s": 70.642,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33401,
    "c": 0.12625,
    "h": 340.2
  },
  "luminance": 0.03192
}

Semantic roles & 50–950 ramp

primary
#5D104A
secondary
#33964B
accent
#ED673A
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5D104A

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

Preview Lab → · Contrast checker → · Palette generator →

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