#5C114B#5C114B

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

Color values

HEX#5C114B
RGBrgb(92, 17, 75)
HSLhsl(314, 69%, 21%)
HSVhsv(314, 82%, 36%)
CMYKcmyk(0%, 81.5%, 18.5%, 63.9%)
CIE-LABlab(20.77, 39.31, -16.57)
CIE-LCHlch(20.77, 42.66, 337.14°)
OKLaboklab(33.36% 0.1169 -0.0449)
OKLCHoklch(33.36% 0.125 339)
XYZxyz(5.8842, 3.1848, 6.9601)
Luminance0.0318 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C114B #115C22
analogous
#48115C #5C114B #5C1126
triadic
#5C114B #4B5C11 #114B5C
tetradic
#5C114B #5C4811 #115C22 #11265C
square
#5C114B #5C4811 #115C22 #11265C
split-complementary
#5C114B #265C11 #115C48
monochromatic
#1A0515 #280721 #5C114B #901B75 #C3249F

Accessibility & contrast

On white

12.83
#5C114B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C114B
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C114B#FFFFFF#000000##FFFFFF
##5C114B1.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162A4D
Deuteranopia (green-blind)
#2F3649
Tritanopia (blue-blind)
#62142D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5c114b;
/* rgb */ color: rgb(92, 17, 75);
/* oklch */ color: oklch(33.4% 0.125 339.0);
Tailwind
colors: {
  custom: {
    50: '#8d587d',
    500: '#5c114b',
    950: '#000000',
  },
}
SCSS
$custom: #5c114b;
$custom-light: #8d587d;
$custom-dark: #000000;
JSON
{
  "hex": "#5c114b",
  "rgb": {
    "r": 92,
    "g": 17,
    "b": 75
  },
  "hsl": {
    "h": 313.6,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33359,
    "c": 0.12519,
    "h": 339
  },
  "luminance": 0.03184
}

Semantic roles & 50–950 ramp

primary
#5C114B
secondary
#34954A
accent
#EC643C
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0D0409
muted
#7D797B

Preview Lab

Preview with #5C114B

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

Preview Lab → · Contrast checker → · Palette generator →

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