#5D1340#5D1340

#5D1340 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.2% C 0.116 H 348.1°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#5D1340
RGBrgb(93, 19, 64)
HSLhsl(324, 66%, 22%)
HSVhsv(324, 80%, 36%)
CMYKcmyk(0%, 79.6%, 31.2%, 63.5%)
CIE-LABlab(20.69, 37.26, -9.13)
CIE-LCHlch(20.69, 38.36, 346.24°)
OKLaboklab(33.16% 0.1135 -0.024)
OKLCHoklch(33.16% 0.116 348.1)
XYZxyz(5.6728, 3.1637, 5.1614)
Luminance0.0316 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1340 #135D30
analogous
#55135D #5D1340 #5D131B
triadic
#5D1340 #405D13 #13405D
tetradic
#5D1340 #5D5513 #135D30 #131B5D
square
#5D1340 #5D5513 #135D30 #131B5D
split-complementary
#5D1340 #1B5D13 #135D55
monochromatic
#190511 #2A091D #5D1340 #901D63 #C32886

Accessibility & contrast

On white

12.86
#5D1340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D1340
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1340#FFFFFF#000000##FFFFFF
##5D13401.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2A41
Deuteranopia (green-blind)
#34363E
Tritanopia (blue-blind)
#641027
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5d1340;
/* rgb */ color: rgb(93, 19, 64);
/* oklch */ color: oklch(33.2% 0.116 348.1);
Tailwind
colors: {
  custom: {
    50: '#8e5974',
    500: '#5d1340',
    950: '#000000',
  },
}
SCSS
$custom: #5d1340;
$custom-light: #8e5974;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1340",
  "rgb": {
    "r": 93,
    "g": 19,
    "b": 64
  },
  "hsl": {
    "h": 323.514,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33164,
    "c": 0.11604,
    "h": 348.1
  },
  "luminance": 0.03163
}

Semantic roles & 50–950 ramp

primary
#5D1340
secondary
#37955C
accent
#E9823F
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5D1340

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

Preview Lab → · Contrast checker → · Palette generator →

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