#5C104D#5C104D

#5C104D is a dark, vivid pink. Relative luminance 0.032; OKLCH L 33.4% C 0.128 H 337.5°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#5C104D
RGBrgb(92, 16, 77)
HSLhsl(312, 70%, 21%)
HSVhsv(312, 83%, 36%)
CMYKcmyk(0%, 82.6%, 16.3%, 63.9%)
CIE-LABlab(20.76, 39.96, -17.95)
CIE-LCHlch(20.76, 43.80, 335.81°)
OKLaboklab(33.39% 0.1181 -0.0488)
OKLCHoklch(33.39% 0.128 337.5)
XYZxyz(5.9386, 3.1823, 7.3212)
Luminance0.0318 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C104D #105C1F
analogous
#45105C #5C104D #5C1027
triadic
#5C104D #4D5C10 #104D5C
tetradic
#5C104D #5C4510 #105C1F #10275C
square
#5C104D #5C4510 #105C1F #10275C
split-complementary
#5C104D #275C10 #105C45
monochromatic
#1A0516 #280721 #5C104D #901979 #C422A4

Accessibility & contrast

On white

12.83
#5C104D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#5C104D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C104D
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C104D#FFFFFF#000000##FFFFFF
##5C104D1.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132B4F
Deuteranopia (green-blind)
#2E364B
Tritanopia (blue-blind)
#61152D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5c104d;
/* rgb */ color: rgb(92, 16, 77);
/* oklch */ color: oklch(33.4% 0.128 337.5);
Tailwind
colors: {
  custom: {
    50: '#8d587f',
    500: '#5c104d',
    950: '#000000',
  },
}
SCSS
$custom: #5c104d;
$custom-light: #8d587f;
$custom-dark: #000000;
JSON
{
  "hex": "#5c104d",
  "rgb": {
    "r": 92,
    "g": 16,
    "b": 77
  },
  "hsl": {
    "h": 311.842,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.33387,
    "c": 0.1278,
    "h": 337.5
  },
  "luminance": 0.03182
}

Semantic roles & 50–950 ramp

primary
#5C104D
secondary
#339546
accent
#ED5E3B
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0D040A
muted
#7D797C

Preview Lab

Preview with #5C104D

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

Preview Lab → · Contrast checker → · Palette generator →

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