#5C104A#5C104A

#5C104A is a dark, vivid pink. Relative luminance 0.031; OKLCH L 33.2% C 0.126 H 339.6°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#5C104A
RGBrgb(92, 16, 74)
HSLhsl(314, 70%, 21%)
HSVhsv(314, 83%, 36%)
CMYKcmyk(0%, 82.6%, 19.6%, 63.9%)
CIE-LABlab(20.60, 39.49, -16.15)
CIE-LCHlch(20.60, 42.67, 337.75°)
OKLaboklab(33.22% 0.1177 -0.0437)
OKLCHoklch(33.22% 0.126 339.6)
XYZxyz(5.8351, 3.1409, 6.7762)
Luminance0.0314 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C104A #105C22
analogous
#48105C #5C104A #5C1024
triadic
#5C104A #4A5C10 #104A5C
tetradic
#5C104A #5C4810 #105C22 #10245C
square
#5C104A #5C4810 #105C22 #10245C
split-complementary
#5C104A #245C10 #105C48
monochromatic
#1A0515 #280720 #5C104A #901974 #C4229E

Accessibility & contrast

On white

12.90
#5C104A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#5C104A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C104A
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C104A#FFFFFF#000000##FFFFFF
##5C104A1.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152A4C
Deuteranopia (green-blind)
#2F3648
Tritanopia (blue-blind)
#62132C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5c104a;
/* rgb */ color: rgb(92, 16, 74);
/* oklch */ color: oklch(33.2% 0.126 339.6);
Tailwind
colors: {
  custom: {
    50: '#8d587c',
    500: '#5c104a',
    950: '#000000',
  },
}
SCSS
$custom: #5c104a;
$custom-light: #8d587c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c104a",
  "rgb": {
    "r": 92,
    "g": 16,
    "b": 74
  },
  "hsl": {
    "h": 314.211,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.3322,
    "c": 0.12559,
    "h": 339.6
  },
  "luminance": 0.0314
}

Semantic roles & 50–950 ramp

primary
#5C104A
secondary
#33954A
accent
#ED653B
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0D0409
muted
#7D797B

Preview Lab

Preview with #5C104A

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

Preview Lab → · Contrast checker → · Palette generator →

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