#5C104C#5C104C

#5C104C is a dark, vivid pink. Relative luminance 0.032; OKLCH L 33.3% C 0.127 H 338.2°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#5C104C
RGBrgb(92, 16, 76)
HSLhsl(313, 70%, 21%)
HSVhsv(313, 83%, 36%)
CMYKcmyk(0%, 82.6%, 17.4%, 63.9%)
CIE-LABlab(20.71, 39.80, -17.35)
CIE-LCHlch(20.71, 43.42, 336.44°)
OKLaboklab(33.33% 0.118 -0.0471)
OKLCHoklch(33.33% 0.127 338.2)
XYZxyz(5.9036, 3.1683, 7.1367)
Luminance0.0317 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C104C #105C20
analogous
#46105C #5C104C #5C1026
triadic
#5C104C #4C5C10 #104C5C
tetradic
#5C104C #5C4610 #105C20 #10265C
square
#5C104C #5C4610 #105C20 #10265C
split-complementary
#5C104C #265C10 #105C46
monochromatic
#1A0516 #280721 #5C104C #901977 #C422A2

Accessibility & contrast

On white

12.86
#5C104C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C104C
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C104C#FFFFFF#000000##FFFFFF
##5C104C1.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142A4E
Deuteranopia (green-blind)
#2E364A
Tritanopia (blue-blind)
#62142D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5c104c;
/* rgb */ color: rgb(92, 16, 76);
/* oklch */ color: oklch(33.3% 0.127 338.2);
Tailwind
colors: {
  custom: {
    50: '#8d587e',
    500: '#5c104c',
    950: '#000000',
  },
}
SCSS
$custom: #5c104c;
$custom-light: #8d587e;
$custom-dark: #000000;
JSON
{
  "hex": "#5c104c",
  "rgb": {
    "r": 92,
    "g": 16,
    "b": 76
  },
  "hsl": {
    "h": 312.632,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.33331,
    "c": 0.12706,
    "h": 338.2
  },
  "luminance": 0.03168
}

Semantic roles & 50–950 ramp

primary
#5C104C
secondary
#339547
accent
#ED603B
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0D040A
muted
#7D797C

Preview Lab

Preview with #5C104C

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

Preview Lab → · Contrast checker → · Palette generator →

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