#5D1346#5D1346

#5D1346 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.5% C 0.120 H 343.4°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#5D1346
RGBrgb(93, 19, 70)
HSLhsl(319, 66%, 22%)
HSVhsv(319, 80%, 36%)
CMYKcmyk(0%, 79.6%, 24.7%, 63.5%)
CIE-LABlab(20.96, 38.12, -12.84)
CIE-LCHlch(20.96, 40.22, 341.39°)
OKLaboklab(33.46% 0.1149 -0.0343)
OKLCHoklch(33.46% 0.12 343.4)
XYZxyz(5.8528, 3.2357, 6.1095)
Luminance0.0323 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1346 #135D2A
analogous
#4F135D #5D1346 #5D1321
triadic
#5D1346 #465D13 #13465D
tetradic
#5D1346 #5D4F13 #135D2A #13215D
square
#5D1346 #5D4F13 #135D2A #13215D
split-complementary
#5D1346 #215D13 #135D4F
monochromatic
#190513 #2A0920 #5D1346 #901D6C #C32892

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D1346#FFFFFF#000000##FFFFFF
##5D13461.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)
#1B2B47
Deuteranopia (green-blind)
#323744
Tritanopia (blue-blind)
#63132A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5d1346;
/* rgb */ color: rgb(93, 19, 70);
/* oklch */ color: oklch(33.5% 0.120 343.4);
Tailwind
colors: {
  custom: {
    50: '#8e5979',
    500: '#5d1346',
    950: '#000000',
  },
}
SCSS
$custom: #5d1346;
$custom-light: #8e5979;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1346",
  "rgb": {
    "r": 93,
    "g": 19,
    "b": 70
  },
  "hsl": {
    "h": 318.649,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33455,
    "c": 0.11994,
    "h": 343.4
  },
  "luminance": 0.03235
}

Semantic roles & 50–950 ramp

primary
#5D1346
secondary
#379554
accent
#E9743F
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5D1346

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

Preview Lab → · Contrast checker → · Palette generator →

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