#5C104E#5C104E

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

Color values

HEX#5C104E
RGBrgb(92, 16, 78)
HSLhsl(311, 70%, 21%)
HSVhsv(311, 83%, 36%)
CMYKcmyk(0%, 82.6%, 15.2%, 63.9%)
CIE-LABlab(20.81, 40.12, -18.54)
CIE-LCHlch(20.81, 44.20, 335.19°)
OKLaboklab(33.44% 0.1182 -0.0505)
OKLCHoklch(33.44% 0.129 336.9)
XYZxyz(5.9742, 3.1965, 7.5086)
Luminance0.0320 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C104E #105C1E
analogous
#44105C #5C104E #5C1028
triadic
#5C104E #4E5C10 #104E5C
tetradic
#5C104E #5C4410 #105C1E #10285C
square
#5C104E #5C4410 #105C1E #10285C
split-complementary
#5C104E #285C10 #105C44
monochromatic
#1A0516 #280722 #5C104E #90197A #C422A6

Accessibility & contrast

On white

12.81
#5C104E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C104E
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C104E#FFFFFF#000000##FFFFFF
##5C104E1.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122B50
Deuteranopia (green-blind)
#2D364C
Tritanopia (blue-blind)
#61152E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5c104e;
/* rgb */ color: rgb(92, 16, 78);
/* oklch */ color: oklch(33.4% 0.129 336.9);
Tailwind
colors: {
  custom: {
    50: '#8d5880',
    500: '#5c104e',
    950: '#000000',
  },
}
SCSS
$custom: #5c104e;
$custom-light: #8d5880;
$custom-dark: #000000;
JSON
{
  "hex": "#5c104e",
  "rgb": {
    "r": 92,
    "g": 16,
    "b": 78
  },
  "hsl": {
    "h": 311.053,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.33444,
    "c": 0.12856,
    "h": 336.9
  },
  "luminance": 0.03196
}

Semantic roles & 50–950 ramp

primary
#5C104E
secondary
#339545
accent
#ED5C3B
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0D040A
muted
#7D797C

Preview Lab

Preview with #5C104E

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

Preview Lab → · Contrast checker → · Palette generator →

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