#5C114E#5C114E

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

Color values

HEX#5C114E
RGBrgb(92, 17, 78)
HSLhsl(311, 69%, 21%)
HSVhsv(311, 82%, 36%)
CMYKcmyk(0%, 81.5%, 15.2%, 63.9%)
CIE-LABlab(20.93, 39.79, -18.36)
CIE-LCHlch(20.93, 43.82, 335.23°)
OKLaboklab(33.53% 0.1172 -0.05)
OKLCHoklch(33.53% 0.127 336.9)
XYZxyz(5.9893, 3.2268, 7.5137)
Luminance0.0323 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C114E #115C1F
analogous
#45115C #5C114E #5C1129
triadic
#5C114E #4E5C11 #114E5C
tetradic
#5C114E #5C4511 #115C1F #11295C
square
#5C114E #5C4511 #115C1F #11295C
split-complementary
#5C114E #295C11 #115C45
monochromatic
#1A0516 #280722 #5C114E #901B7A #C324A6

Accessibility & contrast

On white

12.76
#5C114E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5C114E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C114E
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C114E#FFFFFF#000000##FFFFFF
##5C114E1.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132B50
Deuteranopia (green-blind)
#2D364C
Tritanopia (blue-blind)
#61162E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5c114e;
/* rgb */ color: rgb(92, 17, 78);
/* oklch */ color: oklch(33.5% 0.127 336.9);
Tailwind
colors: {
  custom: {
    50: '#8d5980',
    500: '#5c114e',
    950: '#000000',
  },
}
SCSS
$custom: #5c114e;
$custom-light: #8d5980;
$custom-dark: #000000;
JSON
{
  "hex": "#5c114e",
  "rgb": {
    "r": 92,
    "g": 17,
    "b": 78
  },
  "hsl": {
    "h": 311.2,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33528,
    "c": 0.12743,
    "h": 336.9
  },
  "luminance": 0.03226
}

Semantic roles & 50–950 ramp

primary
#5C114E
secondary
#349546
accent
#EC5D3C
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0D040A
muted
#7D797C

Preview Lab

Preview with #5C114E

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

Preview Lab → · Contrast checker → · Palette generator →

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