#5D114C#5D114C

#5D114C is a dark, vivid pink. Relative luminance 0.033; OKLCH L 33.6% C 0.127 H 338.9°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#5D114C
RGBrgb(93, 17, 76)
HSLhsl(313, 69%, 22%)
HSVhsv(313, 82%, 36%)
CMYKcmyk(0%, 81.7%, 18.3%, 63.5%)
CIE-LABlab(21.02, 39.73, -16.85)
CIE-LCHlch(21.02, 43.15, 337.02°)
OKLaboklab(33.59% 0.1181 -0.0457)
OKLCHoklch(33.59% 0.127 338.9)
XYZxyz(6.0193, 3.2504, 7.1465)
Luminance0.0325 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D114C #115D22
analogous
#48115D #5D114C #5D1126
triadic
#5D114C #4C5D11 #114C5D
tetradic
#5D114C #5D4811 #115D22 #11265D
square
#5D114C #5D4811 #115D22 #11265D
split-complementary
#5D114C #265D11 #115D48
monochromatic
#1A0515 #290822 #5D114C #911A76 #C424A1

Accessibility & contrast

On white

12.73
#5D114C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D114C
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D114C#FFFFFF#000000##FFFFFF
##5D114C1.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162B4E
Deuteranopia (green-blind)
#2F374A
Tritanopia (blue-blind)
#63152D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5d114c;
/* rgb */ color: rgb(93, 17, 76);
/* oklch */ color: oklch(33.6% 0.127 338.9);
Tailwind
colors: {
  custom: {
    50: '#8e597e',
    500: '#5d114c',
    950: '#000000',
  },
}
SCSS
$custom: #5d114c;
$custom-light: #8e597e;
$custom-dark: #000000;
JSON
{
  "hex": "#5d114c",
  "rgb": {
    "r": 93,
    "g": 17,
    "b": 76
  },
  "hsl": {
    "h": 313.421,
    "s": 69.091,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33594,
    "c": 0.12658,
    "h": 338.9
  },
  "luminance": 0.0325
}

Semantic roles & 50–950 ramp

primary
#5D114C
secondary
#34964A
accent
#EC633C
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5D114C

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

Preview Lab → · Contrast checker → · Palette generator →

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