#5C104B#5C104B

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

Color values

HEX#5C104B
RGBrgb(92, 16, 75)
HSLhsl(313, 70%, 21%)
HSVhsv(313, 83%, 36%)
CMYKcmyk(0%, 82.6%, 18.5%, 63.9%)
CIE-LABlab(20.65, 39.64, -16.75)
CIE-LCHlch(20.65, 43.04, 337.09°)
OKLaboklab(33.28% 0.1179 -0.0454)
OKLCHoklch(33.28% 0.126 338.9)
XYZxyz(5.8691, 3.1545, 6.9550)
Luminance0.0315 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C104B #105C21
analogous
#47105C #5C104B #5C1025
triadic
#5C104B #4B5C10 #104B5C
tetradic
#5C104B #5C4710 #105C21 #10255C
square
#5C104B #5C4710 #105C21 #10255C
split-complementary
#5C104B #255C10 #105C47
monochromatic
#1A0515 #280720 #5C104B #901975 #C422A0

Accessibility & contrast

On white

12.88
#5C104B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C104B
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C104B#FFFFFF#000000##FFFFFF
##5C104B1.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152A4D
Deuteranopia (green-blind)
#2E3649
Tritanopia (blue-blind)
#62142C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5c104b;
/* rgb */ color: rgb(92, 16, 75);
/* oklch */ color: oklch(33.3% 0.126 338.9);
Tailwind
colors: {
  custom: {
    50: '#8d587d',
    500: '#5c104b',
    950: '#000000',
  },
}
SCSS
$custom: #5c104b;
$custom-light: #8d587d;
$custom-dark: #000000;
JSON
{
  "hex": "#5c104b",
  "rgb": {
    "r": 92,
    "g": 16,
    "b": 75
  },
  "hsl": {
    "h": 313.421,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.33275,
    "c": 0.12631,
    "h": 338.9
  },
  "luminance": 0.03154
}

Semantic roles & 50–950 ramp

primary
#5C104B
secondary
#339549
accent
#ED633B
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0D0409
muted
#7D797B

Preview Lab

Preview with #5C104B

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

Preview Lab → · Contrast checker → · Palette generator →

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