#5D164F#5D164F

#5D164F is a dark, vivid pink. Relative luminance 0.035; OKLCH L 34.2% C 0.123 H 337.0°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#5D164F
RGBrgb(93, 22, 79)
HSLhsl(312, 62%, 23%)
HSVhsv(312, 76%, 36%)
CMYKcmyk(0%, 76.3%, 15.1%, 63.5%)
CIE-LABlab(21.82, 38.39, -17.63)
CIE-LCHlch(21.82, 42.24, 335.33°)
OKLaboklab(34.23% 0.113 -0.0479)
OKLCHoklch(34.23% 0.123 337)
XYZxyz(6.2125, 3.4661, 7.7374)
Luminance0.0347 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D164F #165D24
analogous
#47165D #5D164F #5D162B
triadic
#5D164F #4F5D16 #164F5D
tetradic
#5D164F #5D4716 #165D24 #162B5D
square
#5D164F #5D4716 #165D24 #162B5D
split-complementary
#5D164F #2B5D16 #165D47
monochromatic
#190615 #2C0A25 #5D164F #8E2279 #C02DA3

Accessibility & contrast

On white

12.40
#5D164F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D164F
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D164F#FFFFFF#000000##FFFFFF
##5D164F1.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182D51
Deuteranopia (green-blind)
#30384D
Tritanopia (blue-blind)
#621A30
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5d164f;
/* rgb */ color: rgb(93, 22, 79);
/* oklch */ color: oklch(34.2% 0.123 337.0);
Tailwind
colors: {
  custom: {
    50: '#8e5b80',
    500: '#5d164f',
    950: '#000000',
  },
}
SCSS
$custom: #5d164f;
$custom-light: #8e5b80;
$custom-dark: #000000;
JSON
{
  "hex": "#5d164f",
  "rgb": {
    "r": 93,
    "g": 22,
    "b": 79
  },
  "hsl": {
    "h": 311.831,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.34225,
    "c": 0.12273,
    "h": 337
  },
  "luminance": 0.03465
}

Semantic roles & 50–950 ramp

primary
#5D164F
secondary
#3B944C
accent
#E56343
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0D040A
muted
#7D797C

Preview Lab

Preview with #5D164F

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

Preview Lab → · Contrast checker → · Palette generator →

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