#5D1348#5D1348

#5D1348 is a dark, vivid pink. Relative luminance 0.033; OKLCH L 33.6% C 0.121 H 341.9°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#5D1348
RGBrgb(93, 19, 72)
HSLhsl(317, 66%, 22%)
HSVhsv(317, 80%, 36%)
CMYKcmyk(0%, 79.6%, 22.6%, 63.5%)
CIE-LABlab(21.06, 38.41, -14.05)
CIE-LCHlch(21.06, 40.91, 339.90°)
OKLaboklab(33.56% 0.1153 -0.0378)
OKLCHoklch(33.56% 0.121 341.9)
XYZxyz(5.9170, 3.2614, 6.4475)
Luminance0.0326 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1348 #135D28
analogous
#4D135D #5D1348 #5D1323
triadic
#5D1348 #485D13 #13485D
tetradic
#5D1348 #5D4D13 #135D28 #13235D
square
#5D1348 #5D4D13 #135D28 #13235D
split-complementary
#5D1348 #235D13 #135D4D
monochromatic
#190514 #2A0921 #5D1348 #901D6F #C32897

Accessibility & contrast

On white

12.71
#5D1348 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D1348
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1348#FFFFFF#000000##FFFFFF
##5D13481.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2B49
Deuteranopia (green-blind)
#313746
Tritanopia (blue-blind)
#63142C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5d1348;
/* rgb */ color: rgb(93, 19, 72);
/* oklch */ color: oklch(33.6% 0.121 341.9);
Tailwind
colors: {
  custom: {
    50: '#8e597b',
    500: '#5d1348',
    950: '#000000',
  },
}
SCSS
$custom: #5d1348;
$custom-light: #8e597b;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1348",
  "rgb": {
    "r": 93,
    "g": 19,
    "b": 72
  },
  "hsl": {
    "h": 317.027,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33558,
    "c": 0.12134,
    "h": 341.9
  },
  "luminance": 0.03261
}

Semantic roles & 50–950 ramp

primary
#5D1348
secondary
#379552
accent
#E96F3F
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5D1348

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

Preview Lab → · Contrast checker → · Palette generator →

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