#5C114D#5C114D

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

Color values

HEX#5C114D
RGBrgb(92, 17, 77)
HSLhsl(312, 69%, 21%)
HSVhsv(312, 82%, 36%)
CMYKcmyk(0%, 81.5%, 16.3%, 63.9%)
CIE-LABlab(20.88, 39.63, -17.77)
CIE-LCHlch(20.88, 43.43, 335.85°)
OKLaboklab(33.47% 0.1171 -0.0483)
OKLCHoklch(33.47% 0.127 337.6)
XYZxyz(5.9538, 3.2126, 7.3263)
Luminance0.0321 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C114D #115C20
analogous
#46115C #5C114D #5C1128
triadic
#5C114D #4D5C11 #114D5C
tetradic
#5C114D #5C4611 #115C20 #11285C
square
#5C114D #5C4611 #115C20 #11285C
split-complementary
#5C114D #285C11 #115C46
monochromatic
#1A0516 #280722 #5C114D #901B78 #C324A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C114D#FFFFFF#000000##FFFFFF
##5C114D1.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)
#142B4F
Deuteranopia (green-blind)
#2E364B
Tritanopia (blue-blind)
#61162E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5c114d;
/* rgb */ color: rgb(92, 17, 77);
/* oklch */ color: oklch(33.5% 0.127 337.6);
Tailwind
colors: {
  custom: {
    50: '#8d597f',
    500: '#5c114d',
    950: '#000000',
  },
}
SCSS
$custom: #5c114d;
$custom-light: #8d597f;
$custom-dark: #000000;
JSON
{
  "hex": "#5c114d",
  "rgb": {
    "r": 92,
    "g": 17,
    "b": 77
  },
  "hsl": {
    "h": 312,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33471,
    "c": 0.12668,
    "h": 337.6
  },
  "luminance": 0.03212
}

Semantic roles & 50–950 ramp

primary
#5C114D
secondary
#349547
accent
#EC5F3C
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0D040A
muted
#7D797C

Preview Lab

Preview with #5C114D

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

Preview Lab → · Contrast checker → · Palette generator →

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