#5E164C#5E164C

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

Color values

HEX#5E164C
RGBrgb(94, 22, 76)
HSLhsl(315, 62%, 23%)
HSVhsv(315, 77%, 37%)
CMYKcmyk(0%, 76.6%, 19.1%, 63.1%)
CIE-LABlab(21.86, 38.18, -15.53)
CIE-LCHlch(21.86, 41.22, 337.86°)
OKLaboklab(34.24% 0.1136 -0.0419)
OKLCHoklch(34.24% 0.121 339.7)
XYZxyz(6.2077, 3.4759, 7.1801)
Luminance0.0348 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E164C #165E28
analogous
#4C165E #5E164C #5E1628
triadic
#5E164C #4C5E16 #164C5E
tetradic
#5E164C #5E4C16 #165E28 #16285E
square
#5E164C #5E4C16 #165E28 #16285E
split-complementary
#5E164C #285E16 #165E4C
monochromatic
#190614 #2C0A24 #5E164C #902274 #C12D9C

Accessibility & contrast

On white

12.39
#5E164C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E164C
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E164C#FFFFFF#000000##FFFFFF
##5E164C1.0012.391.7012.39
#FFFFFF12.391.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2D4E
Deuteranopia (green-blind)
#32384A
Tritanopia (blue-blind)
#64182F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5e164c;
/* rgb */ color: rgb(94, 22, 76);
/* oklch */ color: oklch(34.2% 0.121 339.7);
Tailwind
colors: {
  custom: {
    50: '#8e5b7e',
    500: '#5e164c',
    950: '#000000',
  },
}
SCSS
$custom: #5e164c;
$custom-light: #8e5b7e;
$custom-dark: #000000;
JSON
{
  "hex": "#5e164c",
  "rgb": {
    "r": 94,
    "g": 22,
    "b": 76
  },
  "hsl": {
    "h": 315,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.34237,
    "c": 0.12113,
    "h": 339.7
  },
  "luminance": 0.03475
}

Semantic roles & 50–950 ramp

primary
#5E164C
secondary
#3B9551
accent
#E56B43
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5E164C

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

Preview Lab → · Contrast checker → · Palette generator →

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