#5D164D#5D164D

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

Color values

HEX#5D164D
RGBrgb(93, 22, 77)
HSLhsl(314, 62%, 23%)
HSVhsv(314, 76%, 36%)
CMYKcmyk(0%, 76.3%, 17.2%, 63.5%)
CIE-LABlab(21.72, 38.06, -16.44)
CIE-LCHlch(21.72, 41.46, 336.64°)
OKLaboklab(34.12% 0.1127 -0.0445)
OKLCHoklch(34.12% 0.121 338.4)
XYZxyz(6.1408, 3.4374, 7.3598)
Luminance0.0344 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D164D #165D26
analogous
#49165D #5D164D #5D162A
triadic
#5D164D #4D5D16 #164D5D
tetradic
#5D164D #5D4916 #165D26 #162A5D
square
#5D164D #5D4916 #165D26 #162A5D
split-complementary
#5D164D #2A5D16 #165D49
monochromatic
#190614 #2C0A24 #5D164D #8E2276 #C02D9F

Accessibility & contrast

On white

12.45
#5D164D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#5D164D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D164D
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D164D#FFFFFF#000000##FFFFFF
##5D164D1.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192D4F
Deuteranopia (green-blind)
#31384B
Tritanopia (blue-blind)
#63192F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5d164d;
/* rgb */ color: rgb(93, 22, 77);
/* oklch */ color: oklch(34.1% 0.121 338.4);
Tailwind
colors: {
  custom: {
    50: '#8e5b7f',
    500: '#5d164d',
    950: '#000000',
  },
}
SCSS
$custom: #5d164d;
$custom-light: #8e5b7f;
$custom-dark: #000000;
JSON
{
  "hex": "#5d164d",
  "rgb": {
    "r": 93,
    "g": 22,
    "b": 77
  },
  "hsl": {
    "h": 313.521,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.34115,
    "c": 0.12117,
    "h": 338.4
  },
  "luminance": 0.03437
}

Semantic roles & 50–950 ramp

primary
#5D164D
secondary
#3B944F
accent
#E56743
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0D040A
muted
#7D797C

Preview Lab

Preview with #5D164D

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

Preview Lab → · Contrast checker → · Palette generator →

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