#5D164A#5D164A

#5D164A is a dark, moderate pink. Relative luminance 0.034; OKLCH L 34.0% C 0.119 H 340.6°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#5D164A
RGBrgb(93, 22, 74)
HSLhsl(316, 62%, 23%)
HSVhsv(316, 76%, 36%)
CMYKcmyk(0%, 76.3%, 20.4%, 63.5%)
CIE-LABlab(21.56, 37.58, -14.64)
CIE-LCHlch(21.56, 40.33, 338.72°)
OKLaboklab(33.96% 0.1122 -0.0394)
OKLCHoklch(33.96% 0.119 340.6)
XYZxyz(6.0373, 3.3960, 6.8148)
Luminance0.0340 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D164A #165D29
analogous
#4C165D #5D164A #5D1627
triadic
#5D164A #4A5D16 #164A5D
tetradic
#5D164A #5D4C16 #165D29 #16275D
square
#5D164A #5D4C16 #165D29 #16275D
split-complementary
#5D164A #275D16 #165D4C
monochromatic
#190614 #2C0A23 #5D164A #8E2271 #C02D99

Accessibility & contrast

On white

12.51
#5D164A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#5D164A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D164A
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D164A#FFFFFF#000000##FFFFFF
##5D164A1.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2C4B
Deuteranopia (green-blind)
#323848
Tritanopia (blue-blind)
#63182E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5d164a;
/* rgb */ color: rgb(93, 22, 74);
/* oklch */ color: oklch(34.0% 0.119 340.6);
Tailwind
colors: {
  custom: {
    50: '#8e5b7c',
    500: '#5d164a',
    950: '#000000',
  },
}
SCSS
$custom: #5d164a;
$custom-light: #8e5b7c;
$custom-dark: #000000;
JSON
{
  "hex": "#5d164a",
  "rgb": {
    "r": 93,
    "g": 22,
    "b": 74
  },
  "hsl": {
    "h": 316.056,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33955,
    "c": 0.11892,
    "h": 340.6
  },
  "luminance": 0.03395
}

Semantic roles & 50–950 ramp

primary
#5D164A
secondary
#3B9453
accent
#E56E43
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0D0409
muted
#7D797B

Preview Lab

Preview with #5D164A

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

Preview Lab → · Contrast checker → · Palette generator →

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