#5C164A#5C164A

#5C164A is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.8% C 0.118 H 340.0°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#5C164A
RGBrgb(92, 22, 74)
HSLhsl(315, 61%, 22%)
HSVhsv(315, 76%, 36%)
CMYKcmyk(0%, 76.1%, 19.6%, 63.9%)
CIE-LABlab(21.37, 37.30, -14.95)
CIE-LCHlch(21.37, 40.18, 338.15°)
OKLaboklab(33.78% 0.1111 -0.0403)
OKLCHoklch(33.78% 0.118 340)
XYZxyz(5.9367, 3.3441, 6.8101)
Luminance0.0334 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C164A #165C28
analogous
#4B165C #5C164A #5C1627
triadic
#5C164A #4A5C16 #164A5C
tetradic
#5C164A #5C4B16 #165C28 #16275C
square
#5C164A #5C4B16 #165C28 #16275C
split-complementary
#5C164A #275C16 #165C4B
monochromatic
#190614 #2B0A22 #5C164A #8D2272 #BF2E99

Accessibility & contrast

On white

12.58
#5C164A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#5C164A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C164A
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C164A#FFFFFF#000000##FFFFFF
##5C164A1.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2C4B
Deuteranopia (green-blind)
#313748
Tritanopia (blue-blind)
#62182E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5c164a;
/* rgb */ color: rgb(92, 22, 74);
/* oklch */ color: oklch(33.8% 0.118 340.0);
Tailwind
colors: {
  custom: {
    50: '#8d5a7c',
    500: '#5c164a',
    950: '#000000',
  },
}
SCSS
$custom: #5c164a;
$custom-light: #8d5a7c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c164a",
  "rgb": {
    "r": 92,
    "g": 22,
    "b": 74
  },
  "hsl": {
    "h": 315.429,
    "s": 61.404,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33779,
    "c": 0.11819,
    "h": 340
  },
  "luminance": 0.03344
}

Semantic roles & 50–950 ramp

primary
#5C164A
secondary
#3B9351
accent
#E56D43
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C0409
muted
#7D797B

Preview Lab

Preview with #5C164A

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

Preview Lab → · Contrast checker → · Palette generator →

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