#5C104F#5C104F

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

Color values

HEX#5C104F
RGBrgb(92, 16, 79)
HSLhsl(310, 70%, 21%)
HSVhsv(310, 83%, 36%)
CMYKcmyk(0%, 82.6%, 14.1%, 63.9%)
CIE-LABlab(20.87, 40.28, -19.13)
CIE-LCHlch(20.87, 44.59, 334.59°)
OKLaboklab(33.5% 0.1183 -0.0522)
OKLCHoklch(33.5% 0.129 336.2)
XYZxyz(6.0103, 3.2110, 7.6989)
Luminance0.0321 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C104F #105C1D
analogous
#43105C #5C104F #5C1029
triadic
#5C104F #4F5C10 #104F5C
tetradic
#5C104F #5C4310 #105C1D #10295C
square
#5C104F #5C4310 #105C1D #10295C
split-complementary
#5C104F #295C10 #105C43
monochromatic
#1A0516 #280722 #5C104F #90197C #C422A9

Accessibility & contrast

On white

12.79
#5C104F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C104F
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C104F#FFFFFF#000000##FFFFFF
##5C104F1.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112B51
Deuteranopia (green-blind)
#2D364D
Tritanopia (blue-blind)
#61162E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5c104f;
/* rgb */ color: rgb(92, 16, 79);
/* oklch */ color: oklch(33.5% 0.129 336.2);
Tailwind
colors: {
  custom: {
    50: '#8d5880',
    500: '#5c104f',
    950: '#000000',
  },
}
SCSS
$custom: #5c104f;
$custom-light: #8d5880;
$custom-dark: #000000;
JSON
{
  "hex": "#5c104f",
  "rgb": {
    "r": 92,
    "g": 16,
    "b": 79
  },
  "hsl": {
    "h": 310.263,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.33502,
    "c": 0.12931,
    "h": 336.2
  },
  "luminance": 0.0321
}

Semantic roles & 50–950 ramp

primary
#5C104F
secondary
#339544
accent
#ED593B
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0D040A
muted
#7D797C

Preview Lab

Preview with #5C104F

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

Preview Lab → · Contrast checker → · Palette generator →

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