#5D104C#5D104C

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

Color values

HEX#5D104C
RGBrgb(93, 16, 76)
HSLhsl(313, 71%, 21%)
HSVhsv(313, 83%, 36%)
CMYKcmyk(0%, 82.8%, 18.3%, 63.5%)
CIE-LABlab(20.90, 40.06, -17.03)
CIE-LCHlch(20.90, 43.53, 336.97°)
OKLaboklab(33.51% 0.1191 -0.0462)
OKLCHoklch(33.51% 0.128 338.8)
XYZxyz(6.0042, 3.2201, 7.1414)
Luminance0.0322 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D104C #105D21
analogous
#48105D #5D104C #5D1026
triadic
#5D104C #4C5D10 #104C5D
tetradic
#5D104C #5D4810 #105D21 #10265D
square
#5D104C #5D4810 #105D21 #10265D
split-complementary
#5D104C #265D10 #105D48
monochromatic
#1A0415 #290721 #5D104C #911977 #C522A1

Accessibility & contrast

On white

12.77
#5D104C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D104C
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D104C#FFFFFF#000000##FFFFFF
##5D104C1.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152B4E
Deuteranopia (green-blind)
#2F374A
Tritanopia (blue-blind)
#63142D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5d104c;
/* rgb */ color: rgb(93, 16, 76);
/* oklch */ color: oklch(33.5% 0.128 338.8);
Tailwind
colors: {
  custom: {
    50: '#8e587e',
    500: '#5d104c',
    950: '#000000',
  },
}
SCSS
$custom: #5d104c;
$custom-light: #8e587e;
$custom-dark: #000000;
JSON
{
  "hex": "#5d104c",
  "rgb": {
    "r": 93,
    "g": 16,
    "b": 76
  },
  "hsl": {
    "h": 313.247,
    "s": 70.642,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33511,
    "c": 0.1277,
    "h": 338.8
  },
  "luminance": 0.0322
}

Semantic roles & 50–950 ramp

primary
#5D104C
secondary
#339649
accent
#ED623A
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5D104C

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

Preview Lab → · Contrast checker → · Palette generator →

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