#5E164D#5E164D

#5E164D is a dark, vivid pink. Relative luminance 0.035; OKLCH L 34.3% C 0.122 H 339.0°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#5E164D
RGBrgb(94, 22, 77)
HSLhsl(314, 62%, 23%)
HSVhsv(314, 77%, 37%)
CMYKcmyk(0%, 76.6%, 18.1%, 63.1%)
CIE-LABlab(21.91, 38.34, -16.13)
CIE-LCHlch(21.91, 41.59, 337.18°)
OKLaboklab(34.29% 0.1138 -0.0436)
OKLCHoklch(34.29% 0.122 339)
XYZxyz(6.2427, 3.4899, 7.3646)
Luminance0.0349 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E164D #165E27
analogous
#4B165E #5E164D #5E1629
triadic
#5E164D #4D5E16 #164D5E
tetradic
#5E164D #5E4B16 #165E27 #16295E
square
#5E164D #5E4B16 #165E27 #16295E
split-complementary
#5E164D #295E16 #165E4B
monochromatic
#190614 #2C0A24 #5E164D #902276 #C12D9E

Accessibility & contrast

On white

12.37
#5E164D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#5E164D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E164D
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E164D#FFFFFF#000000##FFFFFF
##5E164D1.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2D4F
Deuteranopia (green-blind)
#31394B
Tritanopia (blue-blind)
#64192F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5e164d;
/* rgb */ color: rgb(94, 22, 77);
/* oklch */ color: oklch(34.3% 0.122 339.0);
Tailwind
colors: {
  custom: {
    50: '#8e5b7f',
    500: '#5e164d',
    950: '#000000',
  },
}
SCSS
$custom: #5e164d;
$custom-light: #8e5b7f;
$custom-dark: #000000;
JSON
{
  "hex": "#5e164d",
  "rgb": {
    "r": 94,
    "g": 22,
    "b": 77
  },
  "hsl": {
    "h": 314.167,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.3429,
    "c": 0.12188,
    "h": 339
  },
  "luminance": 0.03489
}

Semantic roles & 50–950 ramp

primary
#5E164D
secondary
#3B9550
accent
#E56943
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5E164D

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

Preview Lab → · Contrast checker → · Palette generator →

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