#5D173B#5D173B

#5D173B is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.4% C 0.108 H 353.0°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#5D173B
RGBrgb(93, 23, 59)
HSLhsl(329, 60%, 23%)
HSVhsv(329, 75%, 36%)
CMYKcmyk(0%, 75.3%, 36.6%, 63.5%)
CIE-LABlab(21.04, 35.01, -5.13)
CIE-LCHlch(21.04, 35.39, 351.67°)
OKLaboklab(33.36% 0.1071 -0.0131)
OKLCHoklch(33.36% 0.108 353)
XYZxyz(5.6103, 3.2564, 4.4699)
Luminance0.0326 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D173B #175D39
analogous
#5C175D #5D173B #5D1718
triadic
#5D173B #3B5D17 #173B5D
tetradic
#5D173B #5D5C17 #175D39 #17185D
square
#5D173B #5D5C17 #175D39 #17185D
split-complementary
#5D173B #185D17 #175D5C
monochromatic
#190610 #2C0B1C #5D173B #8E235A #BF2F79

Accessibility & contrast

On white

12.72
#5D173B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D173B
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D173B#FFFFFF#000000##FFFFFF
##5D173B1.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232A3C
Deuteranopia (green-blind)
#373739
Tritanopia (blue-blind)
#651226
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5d173b;
/* rgb */ color: rgb(93, 23, 59);
/* oklch */ color: oklch(33.4% 0.108 353.0);
Tailwind
colors: {
  custom: {
    50: '#8e5b70',
    500: '#5d173b',
    950: '#000000',
  },
}
SCSS
$custom: #5d173b;
$custom-light: #8e5b70;
$custom-dark: #000000;
JSON
{
  "hex": "#5d173b",
  "rgb": {
    "r": 93,
    "g": 23,
    "b": 59
  },
  "hsl": {
    "h": 329.143,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33355,
    "c": 0.10792,
    "h": 353
  },
  "luminance": 0.03256
}

Semantic roles & 50–950 ramp

primary
#5D173B
secondary
#3C9467
accent
#E39244
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5D173B

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

Preview Lab → · Contrast checker → · Palette generator →

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