#5D114A#5D114A

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

Color values

HEX#5D114A
RGBrgb(93, 17, 74)
HSLhsl(315, 69%, 22%)
HSVhsv(315, 82%, 36%)
CMYKcmyk(0%, 81.7%, 20.4%, 63.5%)
CIE-LABlab(20.92, 39.42, -15.65)
CIE-LCHlch(20.92, 42.41, 338.35°)
OKLaboklab(33.49% 0.1178 -0.0422)
OKLCHoklch(33.49% 0.125 340.3)
XYZxyz(5.9509, 3.2231, 6.7860)
Luminance0.0322 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D114A #115D24
analogous
#4A115D #5D114A #5D1124
triadic
#5D114A #4A5D11 #114A5D
tetradic
#5D114A #5D4A11 #115D24 #11245D
square
#5D114A #5D4A11 #115D24 #11245D
split-complementary
#5D114A #245D11 #115D4A
monochromatic
#1A0515 #290821 #5D114A #911A73 #C4249C

Accessibility & contrast

On white

12.77
#5D114A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D114A
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D114A#FFFFFF#000000##FFFFFF
##5D114A1.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172B4C
Deuteranopia (green-blind)
#303748
Tritanopia (blue-blind)
#63132C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5d114a;
/* rgb */ color: rgb(93, 17, 74);
/* oklch */ color: oklch(33.5% 0.125 340.3);
Tailwind
colors: {
  custom: {
    50: '#8e597c',
    500: '#5d114a',
    950: '#000000',
  },
}
SCSS
$custom: #5d114a;
$custom-light: #8e597c;
$custom-dark: #000000;
JSON
{
  "hex": "#5d114a",
  "rgb": {
    "r": 93,
    "g": 17,
    "b": 74
  },
  "hsl": {
    "h": 315,
    "s": 69.091,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33485,
    "c": 0.12513,
    "h": 340.3
  },
  "luminance": 0.03222
}

Semantic roles & 50–950 ramp

primary
#5D114A
secondary
#34964D
accent
#EC683C
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5D114A

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

Preview Lab → · Contrast checker → · Palette generator →

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