#5D1643#5D1643

#5D1643 is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.6% C 0.114 H 346.1°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#5D1643
RGBrgb(93, 22, 67)
HSLhsl(322, 62%, 23%)
HSVhsv(322, 76%, 36%)
CMYKcmyk(0%, 76.3%, 28%, 63.5%)
CIE-LABlab(21.23, 36.53, -10.36)
CIE-LCHlch(21.23, 37.97, 344.16°)
OKLaboklab(33.61% 0.1107 -0.0275)
OKLCHoklch(33.61% 0.114 346.1)
XYZxyz(5.8145, 3.3068, 5.6412)
Luminance0.0331 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1643 #165D30
analogous
#54165D #5D1643 #5D161F
triadic
#5D1643 #435D16 #16435D
tetradic
#5D1643 #5D5416 #165D30 #161F5D
square
#5D1643 #5D5416 #165D30 #161F5D
split-complementary
#5D1643 #1F5D16 #165D54
monochromatic
#190612 #2C0A1F #5D1643 #8E2267 #C02D8A

Accessibility & contrast

On white

12.64
#5D1643 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#5D1643 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1643
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1643#FFFFFF#000000##FFFFFF
##5D16431.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2B44
Deuteranopia (green-blind)
#343741
Tritanopia (blue-blind)
#64142A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5d1643;
/* rgb */ color: rgb(93, 22, 67);
/* oklch */ color: oklch(33.6% 0.114 346.1);
Tailwind
colors: {
  custom: {
    50: '#8e5a77',
    500: '#5d1643',
    950: '#000000',
  },
}
SCSS
$custom: #5d1643;
$custom-light: #8e5a77;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1643",
  "rgb": {
    "r": 93,
    "g": 22,
    "b": 67
  },
  "hsl": {
    "h": 321.972,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33605,
    "c": 0.11405,
    "h": 346.1
  },
  "luminance": 0.03306
}

Semantic roles & 50–950 ramp

primary
#5D1643
secondary
#3B945B
accent
#E57E43
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5D1643

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

Preview Lab → · Contrast checker → · Palette generator →

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