#5C114A#5C114A

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

Color values

HEX#5C114A
RGBrgb(92, 17, 74)
HSLhsl(314, 69%, 21%)
HSVhsv(314, 82%, 36%)
CMYKcmyk(0%, 81.5%, 19.6%, 63.9%)
CIE-LABlab(20.72, 39.15, -15.97)
CIE-LCHlch(20.72, 42.29, 337.81°)
OKLaboklab(33.3% 0.1167 -0.0432)
OKLCHoklch(33.3% 0.124 339.7)
XYZxyz(5.8503, 3.1712, 6.7812)
Luminance0.0317 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C114A #115C23
analogous
#49115C #5C114A #5C1125
triadic
#5C114A #4A5C11 #114A5C
tetradic
#5C114A #5C4911 #115C23 #11255C
square
#5C114A #5C4911 #115C23 #11255C
split-complementary
#5C114A #255C11 #115C49
monochromatic
#1A0515 #280720 #5C114A #901B74 #C3249D

Accessibility & contrast

On white

12.85
#5C114A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C114A
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C114A#FFFFFF#000000##FFFFFF
##5C114A1.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162A4C
Deuteranopia (green-blind)
#2F3648
Tritanopia (blue-blind)
#62142C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5c114a;
/* rgb */ color: rgb(92, 17, 74);
/* oklch */ color: oklch(33.3% 0.124 339.7);
Tailwind
colors: {
  custom: {
    50: '#8d587c',
    500: '#5c114a',
    950: '#000000',
  },
}
SCSS
$custom: #5c114a;
$custom-light: #8d587c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c114a",
  "rgb": {
    "r": 92,
    "g": 17,
    "b": 74
  },
  "hsl": {
    "h": 314.4,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33304,
    "c": 0.12445,
    "h": 339.7
  },
  "luminance": 0.03171
}

Semantic roles & 50–950 ramp

primary
#5C114A
secondary
#34954B
accent
#EC663C
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0D0409
muted
#7D797B

Preview Lab

Preview with #5C114A

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

Preview Lab → · Contrast checker → · Palette generator →

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