#5D164B#5D164B

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

Color values

HEX#5D164B
RGBrgb(93, 22, 75)
HSLhsl(315, 62%, 23%)
HSVhsv(315, 76%, 36%)
CMYKcmyk(0%, 76.3%, 19.4%, 63.5%)
CIE-LABlab(21.61, 37.74, -15.24)
CIE-LCHlch(21.61, 40.70, 338.01°)
OKLaboklab(34.01% 0.1124 -0.0411)
OKLCHoklch(34.01% 0.12 339.9)
XYZxyz(6.0713, 3.4096, 6.9936)
Luminance0.0341 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D164B #165D28
analogous
#4B165D #5D164B #5D1628
triadic
#5D164B #4B5D16 #164B5D
tetradic
#5D164B #5D4B16 #165D28 #16285D
square
#5D164B #5D4B16 #165D28 #16285D
split-complementary
#5D164B #285D16 #165D4B
monochromatic
#190614 #2C0A23 #5D164B #8E2273 #C02D9B

Accessibility & contrast

On white

12.49
#5D164B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D164B
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D164B#FFFFFF#000000##FFFFFF
##5D164B1.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d164b;
/* rgb */ color: rgb(93, 22, 75);
/* oklch */ color: oklch(34.0% 0.120 339.9);
Tailwind
colors: {
  custom: {
    50: '#8e5b7d',
    500: '#5d164b',
    950: '#000000',
  },
}
SCSS
$custom: #5d164b;
$custom-light: #8e5b7d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d164b",
  "rgb": {
    "r": 93,
    "g": 22,
    "b": 75
  },
  "hsl": {
    "h": 315.211,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.34008,
    "c": 0.11966,
    "h": 339.9
  },
  "luminance": 0.03409
}

Semantic roles & 50–950 ramp

primary
#5D164B
secondary
#3B9451
accent
#E56C43
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0D0409
muted
#7D797B

Preview Lab

Preview with #5D164B

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

Preview Lab → · Contrast checker → · Palette generator →

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