#5C164F#5C164F

#5C164F is a dark, vivid pink. Relative luminance 0.034; OKLCH L 34.1% C 0.122 H 336.4°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#5C164F
RGBrgb(92, 22, 79)
HSLhsl(311, 61%, 22%)
HSVhsv(311, 76%, 36%)
CMYKcmyk(0%, 76.1%, 14.1%, 63.9%)
CIE-LABlab(21.63, 38.11, -17.94)
CIE-LCHlch(21.63, 42.12, 334.79°)
OKLaboklab(34.05% 0.1119 -0.0488)
OKLCHoklch(34.05% 0.122 336.4)
XYZxyz(6.1119, 3.4142, 7.7327)
Luminance0.0341 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C164F #165C23
analogous
#46165C #5C164F #5C162C
triadic
#5C164F #4F5C16 #164F5C
tetradic
#5C164F #5C4616 #165C23 #162C5C
square
#5C164F #5C4616 #165C23 #162C5C
split-complementary
#5C164F #2C5C16 #165C46
monochromatic
#190615 #2B0A25 #5C164F #8D2279 #BF2EA4

Accessibility & contrast

On white

12.48
#5C164F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C164F
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C164F#FFFFFF#000000##FFFFFF
##5C164F1.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172D51
Deuteranopia (green-blind)
#2F384D
Tritanopia (blue-blind)
#611A30
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5c164f;
/* rgb */ color: rgb(92, 22, 79);
/* oklch */ color: oklch(34.1% 0.122 336.4);
Tailwind
colors: {
  custom: {
    50: '#8d5b80',
    500: '#5c164f',
    950: '#000000',
  },
}
SCSS
$custom: #5c164f;
$custom-light: #8d5b80;
$custom-dark: #000000;
JSON
{
  "hex": "#5c164f",
  "rgb": {
    "r": 92,
    "g": 22,
    "b": 79
  },
  "hsl": {
    "h": 311.143,
    "s": 61.404,
    "l": 22.353
  },
  "oklch": {
    "l": 0.34052,
    "c": 0.12205,
    "h": 336.4
  },
  "luminance": 0.03414
}

Semantic roles & 50–950 ramp

primary
#5C164F
secondary
#3B934B
accent
#E56143
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #5C164F

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

Preview Lab → · Contrast checker → · Palette generator →

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