#5D174D#5D174D

#5D174D is a dark, moderate pink. Relative luminance 0.035; OKLCH L 34.2% C 0.120 H 338.5°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#5D174D
RGBrgb(93, 23, 77)
HSLhsl(314, 60%, 23%)
HSVhsv(314, 75%, 36%)
CMYKcmyk(0%, 75.3%, 17.2%, 63.5%)
CIE-LABlab(21.86, 37.66, -16.22)
CIE-LCHlch(21.86, 41.00, 336.70°)
OKLaboklab(34.22% 0.1115 -0.0439)
OKLCHoklch(34.22% 0.12 338.5)
XYZxyz(6.1603, 3.4763, 7.3663)
Luminance0.0348 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D174D #175D27
analogous
#4A175D #5D174D #5D172A
triadic
#5D174D #4D5D17 #174D5D
tetradic
#5D174D #5D4A17 #175D27 #172A5D
square
#5D174D #5D4A17 #175D27 #172A5D
split-complementary
#5D174D #2A5D17 #175D4A
monochromatic
#190614 #2C0B24 #5D174D #8E2376 #BF2F9E

Accessibility & contrast

On white

12.39
#5D174D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#5D174D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D174D
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D174D#FFFFFF#000000##FFFFFF
##5D174D1.0012.391.7012.39
#FFFFFF12.391.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2D4F
Deuteranopia (green-blind)
#31384B
Tritanopia (blue-blind)
#631A30
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5d174d;
/* rgb */ color: rgb(93, 23, 77);
/* oklch */ color: oklch(34.2% 0.120 338.5);
Tailwind
colors: {
  custom: {
    50: '#8e5b7f',
    500: '#5d174d',
    950: '#000000',
  },
}
SCSS
$custom: #5d174d;
$custom-light: #8e5b7f;
$custom-dark: #000000;
JSON
{
  "hex": "#5d174d",
  "rgb": {
    "r": 93,
    "g": 23,
    "b": 77
  },
  "hsl": {
    "h": 313.714,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.34218,
    "c": 0.11983,
    "h": 338.5
  },
  "luminance": 0.03476
}

Semantic roles & 50–950 ramp

primary
#5D174D
secondary
#3C9450
accent
#E36944
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0D040A
muted
#7D797C

Preview Lab

Preview with #5D174D

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

Preview Lab → · Contrast checker → · Palette generator →

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