#5D1047#5D1047

#5D1047 is a dark, vivid pink. Relative luminance 0.032; OKLCH L 33.2% C 0.124 H 342.4°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#5D1047
RGBrgb(93, 16, 71)
HSLhsl(317, 71%, 21%)
HSVhsv(317, 83%, 36%)
CMYKcmyk(0%, 82.8%, 23.7%, 63.5%)
CIE-LABlab(20.65, 39.30, -14.01)
CIE-LCHlch(20.65, 41.73, 340.38°)
OKLaboklab(33.24% 0.1183 -0.0376)
OKLCHoklch(33.24% 0.124 342.4)
XYZxyz(5.8370, 3.1533, 6.2613)
Luminance0.0315 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1047 #105D26
analogous
#4D105D #5D1047 #5D1021
triadic
#5D1047 #475D10 #10475D
tetradic
#5D1047 #5D4D10 #105D26 #10215D
square
#5D1047 #5D4D10 #105D26 #10215D
split-complementary
#5D1047 #215D10 #105D4D
monochromatic
#1A0414 #29071F #5D1047 #91196F #C52297

Accessibility & contrast

On white

12.88
#5D1047 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D1047
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1047#FFFFFF#000000##FFFFFF
##5D10471.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182A48
Deuteranopia (green-blind)
#313645
Tritanopia (blue-blind)
#63112A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5d1047;
/* rgb */ color: rgb(93, 16, 71);
/* oklch */ color: oklch(33.2% 0.124 342.4);
Tailwind
colors: {
  custom: {
    50: '#8e587a',
    500: '#5d1047',
    950: '#000000',
  },
}
SCSS
$custom: #5d1047;
$custom-light: #8e587a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1047",
  "rgb": {
    "r": 93,
    "g": 16,
    "b": 71
  },
  "hsl": {
    "h": 317.143,
    "s": 70.642,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33242,
    "c": 0.12413,
    "h": 342.4
  },
  "luminance": 0.03153
}

Semantic roles & 50–950 ramp

primary
#5D1047
secondary
#33964F
accent
#ED6E3A
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5D1047

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

Preview Lab → · Contrast checker → · Palette generator →

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