#5C114C#5C114C

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

Color values

HEX#5C114C
RGBrgb(92, 17, 76)
HSLhsl(313, 69%, 21%)
HSVhsv(313, 82%, 36%)
CMYKcmyk(0%, 81.5%, 17.4%, 63.9%)
CIE-LABlab(20.82, 39.47, -17.17)
CIE-LCHlch(20.82, 43.04, 336.49°)
OKLaboklab(33.42% 0.117 -0.0466)
OKLCHoklch(33.42% 0.126 338.3)
XYZxyz(5.9187, 3.1986, 7.1418)
Luminance0.0320 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C114C #115C21
analogous
#47115C #5C114C #5C1127
triadic
#5C114C #4C5C11 #114C5C
tetradic
#5C114C #5C4711 #115C21 #11275C
square
#5C114C #5C4711 #115C21 #11275C
split-complementary
#5C114C #275C11 #115C47
monochromatic
#1A0515 #280721 #5C114C #901B77 #C324A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C114C#FFFFFF#000000##FFFFFF
##5C114C1.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)
#152B4E
Deuteranopia (green-blind)
#2E364A
Tritanopia (blue-blind)
#62152D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5c114c;
/* rgb */ color: rgb(92, 17, 76);
/* oklch */ color: oklch(33.4% 0.126 338.3);
Tailwind
colors: {
  custom: {
    50: '#8d587e',
    500: '#5c114c',
    950: '#000000',
  },
}
SCSS
$custom: #5c114c;
$custom-light: #8d587e;
$custom-dark: #000000;
JSON
{
  "hex": "#5c114c",
  "rgb": {
    "r": 92,
    "g": 17,
    "b": 76
  },
  "hsl": {
    "h": 312.8,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33415,
    "c": 0.12593,
    "h": 338.3
  },
  "luminance": 0.03198
}

Semantic roles & 50–950 ramp

primary
#5C114C
secondary
#349549
accent
#EC623C
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0D040A
muted
#7D797C

Preview Lab

Preview with #5C114C

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

Preview Lab → · Contrast checker → · Palette generator →

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