#5D104D#5D104D

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

Color values

HEX#5D104D
RGBrgb(93, 16, 77)
HSLhsl(312, 71%, 21%)
HSVhsv(312, 83%, 36%)
CMYKcmyk(0%, 82.8%, 17.2%, 63.5%)
CIE-LABlab(20.96, 40.22, -17.62)
CIE-LCHlch(20.96, 43.91, 336.34°)
OKLaboklab(33.57% 0.1192 -0.0479)
OKLCHoklch(33.57% 0.128 338.1)
XYZxyz(6.0392, 3.2341, 7.3259)
Luminance0.0323 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D104D #105D20
analogous
#47105D #5D104D #5D1027
triadic
#5D104D #4D5D10 #104D5D
tetradic
#5D104D #5D4710 #105D20 #10275D
square
#5D104D #5D4710 #105D20 #10275D
split-complementary
#5D104D #275D10 #105D47
monochromatic
#1A0416 #290722 #5D104D #911978 #C522A3

Accessibility & contrast

On white

12.75
#5D104D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5D104D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D104D
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D104D#FFFFFF#000000##FFFFFF
##5D104D1.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142B4F
Deuteranopia (green-blind)
#2E374B
Tritanopia (blue-blind)
#63142D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5d104d;
/* rgb */ color: rgb(93, 16, 77);
/* oklch */ color: oklch(33.6% 0.128 338.1);
Tailwind
colors: {
  custom: {
    50: '#8e587f',
    500: '#5d104d',
    950: '#000000',
  },
}
SCSS
$custom: #5d104d;
$custom-light: #8e587f;
$custom-dark: #000000;
JSON
{
  "hex": "#5d104d",
  "rgb": {
    "r": 93,
    "g": 16,
    "b": 77
  },
  "hsl": {
    "h": 312.468,
    "s": 70.642,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33567,
    "c": 0.12843,
    "h": 338.1
  },
  "luminance": 0.03234
}

Semantic roles & 50–950 ramp

primary
#5D104D
secondary
#339647
accent
#ED603A
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5D104D

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

Preview Lab → · Contrast checker → · Palette generator →

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