#5D134E#5D134E

#5D134E is a dark, vivid pink. Relative luminance 0.033; OKLCH L 33.9% C 0.126 H 337.6°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#5D134E
RGBrgb(93, 19, 78)
HSLhsl(312, 66%, 22%)
HSVhsv(312, 80%, 36%)
CMYKcmyk(0%, 79.6%, 16.1%, 63.5%)
CIE-LABlab(21.37, 39.35, -17.66)
CIE-LCHlch(21.37, 43.13, 335.83°)
OKLaboklab(33.88% 0.1162 -0.048)
OKLCHoklch(33.88% 0.126 337.6)
XYZxyz(6.1223, 3.3435, 7.5292)
Luminance0.0334 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D134E #135D22
analogous
#47135D #5D134E #5D1329
triadic
#5D134E #4E5D13 #134E5D
tetradic
#5D134E #5D4713 #135D22 #13295D
square
#5D134E #5D4713 #135D22 #13295D
split-complementary
#5D134E #295D13 #135D47
monochromatic
#190515 #2A0923 #5D134E #901D79 #C328A3

Accessibility & contrast

On white

12.59
#5D134E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#5D134E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D134E
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D134E#FFFFFF#000000##FFFFFF
##5D134E1.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162C50
Deuteranopia (green-blind)
#2F374C
Tritanopia (blue-blind)
#62172F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5d134e;
/* rgb */ color: rgb(93, 19, 78);
/* oklch */ color: oklch(33.9% 0.126 337.6);
Tailwind
colors: {
  custom: {
    50: '#8e5a7f',
    500: '#5d134e',
    950: '#000000',
  },
}
SCSS
$custom: #5d134e;
$custom-light: #8e5a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#5d134e",
  "rgb": {
    "r": 93,
    "g": 19,
    "b": 78
  },
  "hsl": {
    "h": 312.162,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33882,
    "c": 0.12574,
    "h": 337.6
  },
  "luminance": 0.03343
}

Semantic roles & 50–950 ramp

primary
#5D134E
secondary
#37954A
accent
#E9613F
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5D134E

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

Preview Lab → · Contrast checker → · Palette generator →

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