#5C164E#5C164E

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

Color values

HEX#5C164E
RGBrgb(92, 22, 78)
HSLhsl(312, 61%, 22%)
HSVhsv(312, 76%, 36%)
CMYKcmyk(0%, 76.1%, 15.2%, 63.9%)
CIE-LABlab(21.58, 37.95, -17.35)
CIE-LCHlch(21.58, 41.72, 335.43°)
OKLaboklab(34% 0.1117 -0.0471)
OKLCHoklch(34% 0.121 337.1)
XYZxyz(6.0758, 3.3997, 7.5425)
Luminance0.0340 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C164E #165C24
analogous
#47165C #5C164E #5C162B
triadic
#5C164E #4E5C16 #164E5C
tetradic
#5C164E #5C4716 #165C24 #162B5C
square
#5C164E #5C4716 #165C24 #162B5C
split-complementary
#5C164E #2B5C16 #165C47
monochromatic
#190615 #2B0A24 #5C164E #8D2278 #BF2EA2

Accessibility & contrast

On white

12.50
#5C164E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C164E
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C164E#FFFFFF#000000##FFFFFF
##5C164E1.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182D50
Deuteranopia (green-blind)
#2F384C
Tritanopia (blue-blind)
#611A30
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5c164e;
/* rgb */ color: rgb(92, 22, 78);
/* oklch */ color: oklch(34.0% 0.121 337.1);
Tailwind
colors: {
  custom: {
    50: '#8d5b7f',
    500: '#5c164e',
    950: '#000000',
  },
}
SCSS
$custom: #5c164e;
$custom-light: #8d5b7f;
$custom-dark: #000000;
JSON
{
  "hex": "#5c164e",
  "rgb": {
    "r": 92,
    "g": 22,
    "b": 78
  },
  "hsl": {
    "h": 312,
    "s": 61.404,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33996,
    "c": 0.12126,
    "h": 337.1
  },
  "luminance": 0.03399
}

Semantic roles & 50–950 ramp

primary
#5C164E
secondary
#3B934C
accent
#E56443
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #5C164E

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

Preview Lab → · Contrast checker → · Palette generator →

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