#5D164C#5D164C

#5D164C is a dark, vivid pink. Relative luminance 0.034; OKLCH L 34.1% C 0.120 H 339.2°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#5D164C
RGBrgb(93, 22, 76)
HSLhsl(314, 62%, 23%)
HSVhsv(314, 76%, 36%)
CMYKcmyk(0%, 76.3%, 18.3%, 63.5%)
CIE-LABlab(21.67, 37.90, -15.84)
CIE-LCHlch(21.67, 41.08, 337.31°)
OKLaboklab(34.06% 0.1125 -0.0428)
OKLCHoklch(34.06% 0.12 339.2)
XYZxyz(6.1058, 3.4234, 7.1753)
Luminance0.0342 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D164C #165D27
analogous
#4A165D #5D164C #5D1629
triadic
#5D164C #4C5D16 #164C5D
tetradic
#5D164C #5D4A16 #165D27 #16295D
square
#5D164C #5D4A16 #165D27 #16295D
split-complementary
#5D164C #295D16 #165D4A
monochromatic
#190614 #2C0A24 #5D164C #8E2274 #C02D9D

Accessibility & contrast

On white

12.47
#5D164C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D164C
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D164C#FFFFFF#000000##FFFFFF
##5D164C1.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2D4E
Deuteranopia (green-blind)
#31384A
Tritanopia (blue-blind)
#63192F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5d164c;
/* rgb */ color: rgb(93, 22, 76);
/* oklch */ color: oklch(34.1% 0.120 339.2);
Tailwind
colors: {
  custom: {
    50: '#8e5b7e',
    500: '#5d164c',
    950: '#000000',
  },
}
SCSS
$custom: #5d164c;
$custom-light: #8e5b7e;
$custom-dark: #000000;
JSON
{
  "hex": "#5d164c",
  "rgb": {
    "r": 93,
    "g": 22,
    "b": 76
  },
  "hsl": {
    "h": 314.366,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.34061,
    "c": 0.12042,
    "h": 339.2
  },
  "luminance": 0.03423
}

Semantic roles & 50–950 ramp

primary
#5D164C
secondary
#3B9450
accent
#E56A43
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0D040A
muted
#7D797C

Preview Lab

Preview with #5D164C

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

Preview Lab → · Contrast checker → · Palette generator →

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