#5D114D#5D114D

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

Color values

HEX#5D114D
RGBrgb(93, 17, 77)
HSLhsl(313, 69%, 22%)
HSVhsv(313, 82%, 36%)
CMYKcmyk(0%, 81.7%, 17.2%, 63.5%)
CIE-LABlab(21.07, 39.89, -17.44)
CIE-LCHlch(21.07, 43.53, 336.38°)
OKLaboklab(33.65% 0.1182 -0.0474)
OKLCHoklch(33.65% 0.127 338.2)
XYZxyz(6.0543, 3.2645, 7.3310)
Luminance0.0326 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D114D #115D21
analogous
#47115D #5D114D #5D1127
triadic
#5D114D #4D5D11 #114D5D
tetradic
#5D114D #5D4711 #115D21 #11275D
square
#5D114D #5D4711 #115D21 #11275D
split-complementary
#5D114D #275D11 #115D47
monochromatic
#1A0515 #290822 #5D114D #911A78 #C424A3

Accessibility & contrast

On white

12.71
#5D114D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D114D
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D114D#FFFFFF#000000##FFFFFF
##5D114D1.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152B4F
Deuteranopia (green-blind)
#2F374B
Tritanopia (blue-blind)
#63152E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5d114d;
/* rgb */ color: rgb(93, 17, 77);
/* oklch */ color: oklch(33.7% 0.127 338.2);
Tailwind
colors: {
  custom: {
    50: '#8e597f',
    500: '#5d114d',
    950: '#000000',
  },
}
SCSS
$custom: #5d114d;
$custom-light: #8e597f;
$custom-dark: #000000;
JSON
{
  "hex": "#5d114d",
  "rgb": {
    "r": 93,
    "g": 17,
    "b": 77
  },
  "hsl": {
    "h": 312.632,
    "s": 69.091,
    "l": 21.569
  },
  "oklch": {
    "l": 0.3365,
    "c": 0.12733,
    "h": 338.2
  },
  "luminance": 0.03264
}

Semantic roles & 50–950 ramp

primary
#5D114D
secondary
#349649
accent
#EC613C
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5D114D

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

Preview Lab → · Contrast checker → · Palette generator →

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