#5D104B#5D104B

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

Color values

HEX#5D104B
RGBrgb(93, 16, 75)
HSLhsl(314, 71%, 21%)
HSVhsv(314, 83%, 36%)
CMYKcmyk(0%, 82.8%, 19.4%, 63.5%)
CIE-LABlab(20.85, 39.91, -16.43)
CIE-LCHlch(20.85, 43.16, 337.62°)
OKLaboklab(33.46% 0.1189 -0.0445)
OKLCHoklch(33.46% 0.127 339.5)
XYZxyz(5.9697, 3.2063, 6.9597)
Luminance0.0321 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D104B #105D22
analogous
#49105D #5D104B #5D1025
triadic
#5D104B #4B5D10 #104B5D
tetradic
#5D104B #5D4910 #105D22 #10255D
square
#5D104B #5D4910 #105D22 #10255D
split-complementary
#5D104B #255D10 #105D49
monochromatic
#1A0415 #290721 #5D104B #911975 #C5229F

Accessibility & contrast

On white

12.80
#5D104B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D104B
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D104B#FFFFFF#000000##FFFFFF
##5D104B1.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152A4D
Deuteranopia (green-blind)
#2F3649
Tritanopia (blue-blind)
#63132C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5d104b;
/* rgb */ color: rgb(93, 16, 75);
/* oklch */ color: oklch(33.5% 0.127 339.5);
Tailwind
colors: {
  custom: {
    50: '#8e587d',
    500: '#5d104b',
    950: '#000000',
  },
}
SCSS
$custom: #5d104b;
$custom-light: #8e587d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d104b",
  "rgb": {
    "r": 93,
    "g": 16,
    "b": 75
  },
  "hsl": {
    "h": 314.026,
    "s": 70.642,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33456,
    "c": 0.12697,
    "h": 339.5
  },
  "luminance": 0.03206
}

Semantic roles & 50–950 ramp

primary
#5D104B
secondary
#33964A
accent
#ED643A
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5D104B

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

Preview Lab → · Contrast checker → · Palette generator →

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