#5C114F#5C114F

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

Color values

HEX#5C114F
RGBrgb(92, 17, 79)
HSLhsl(310, 69%, 21%)
HSVhsv(310, 82%, 36%)
CMYKcmyk(0%, 81.5%, 14.1%, 63.9%)
CIE-LABlab(20.99, 39.95, -18.95)
CIE-LCHlch(20.99, 44.22, 334.62°)
OKLaboklab(33.59% 0.1173 -0.0517)
OKLCHoklch(33.59% 0.128 336.2)
XYZxyz(6.0255, 3.2413, 7.7039)
Luminance0.0324 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C114F #115C1E
analogous
#44115C #5C114F #5C112A
triadic
#5C114F #4F5C11 #114F5C
tetradic
#5C114F #5C4411 #115C1E #112A5C
square
#5C114F #5C4411 #115C1E #112A5C
split-complementary
#5C114F #2A5C11 #115C44
monochromatic
#1A0516 #280723 #5C114F #901B7B #C324A8

Accessibility & contrast

On white

12.74
#5C114F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C114F
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C114F#FFFFFF#000000##FFFFFF
##5C114F1.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122B51
Deuteranopia (green-blind)
#2D364D
Tritanopia (blue-blind)
#61172F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5c114f;
/* rgb */ color: rgb(92, 17, 79);
/* oklch */ color: oklch(33.6% 0.128 336.2);
Tailwind
colors: {
  custom: {
    50: '#8d5980',
    500: '#5c114f',
    950: '#000000',
  },
}
SCSS
$custom: #5c114f;
$custom-light: #8d5980;
$custom-dark: #000000;
JSON
{
  "hex": "#5c114f",
  "rgb": {
    "r": 92,
    "g": 17,
    "b": 79
  },
  "hsl": {
    "h": 310.4,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33585,
    "c": 0.1282,
    "h": 336.2
  },
  "luminance": 0.03241
}

Semantic roles & 50–950 ramp

primary
#5C114F
secondary
#349545
accent
#EC5B3C
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0D040A
muted
#7D797C

Preview Lab

Preview with #5C114F

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

Preview Lab → · Contrast checker → · Palette generator →

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