#5D1046#5D1046

#5D1046 is a dark, vivid pink. Relative luminance 0.031; OKLCH L 33.2% C 0.123 H 343.1°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#5D1046
RGBrgb(93, 16, 70)
HSLhsl(318, 71%, 21%)
HSVhsv(318, 83%, 36%)
CMYKcmyk(0%, 82.8%, 24.7%, 63.5%)
CIE-LABlab(20.60, 39.16, -13.40)
CIE-LCHlch(20.60, 41.39, 341.11°)
OKLaboklab(33.19% 0.1181 -0.0359)
OKLCHoklch(33.19% 0.123 343.1)
XYZxyz(5.8052, 3.1406, 6.0936)
Luminance0.0314 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1046 #105D27
analogous
#4E105D #5D1046 #5D1020
triadic
#5D1046 #465D10 #10465D
tetradic
#5D1046 #5D4E10 #105D27 #10205D
square
#5D1046 #5D4E10 #105D27 #10205D
split-complementary
#5D1046 #205D10 #105D4E
monochromatic
#1A0414 #29071F #5D1046 #91196D #C52295

Accessibility & contrast

On white

12.90
#5D1046 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#5D1046 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1046
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1046#FFFFFF#000000##FFFFFF
##5D10461.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192A47
Deuteranopia (green-blind)
#313644
Tritanopia (blue-blind)
#63102A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5d1046;
/* rgb */ color: rgb(93, 16, 70);
/* oklch */ color: oklch(33.2% 0.123 343.1);
Tailwind
colors: {
  custom: {
    50: '#8e5879',
    500: '#5d1046',
    950: '#000000',
  },
}
SCSS
$custom: #5d1046;
$custom-light: #8e5879;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1046",
  "rgb": {
    "r": 93,
    "g": 16,
    "b": 70
  },
  "hsl": {
    "h": 317.922,
    "s": 70.642,
    "l": 21.373
  },
  "oklch": {
    "l": 0.3319,
    "c": 0.12346,
    "h": 343.1
  },
  "luminance": 0.0314
}

Semantic roles & 50–950 ramp

primary
#5D1046
secondary
#339650
accent
#ED703A
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5D1046

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

Preview Lab → · Contrast checker → · Palette generator →

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