#5D134F#5D134F

#5D134F is a dark, vivid pink. Relative luminance 0.034; OKLCH L 33.9% C 0.127 H 336.9°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#5D134F
RGBrgb(93, 19, 79)
HSLhsl(311, 66%, 22%)
HSVhsv(311, 80%, 36%)
CMYKcmyk(0%, 79.6%, 15.1%, 63.5%)
CIE-LABlab(21.42, 39.51, -18.25)
CIE-LCHlch(21.42, 43.52, 335.21°)
OKLaboklab(33.94% 0.1163 -0.0497)
OKLCHoklch(33.94% 0.127 336.9)
XYZxyz(6.1585, 3.3580, 7.7194)
Luminance0.0336 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D134F #135D21
analogous
#46135D #5D134F #5D132A
triadic
#5D134F #4F5D13 #134F5D
tetradic
#5D134F #5D4613 #135D21 #132A5D
square
#5D134F #5D4613 #135D21 #132A5D
split-complementary
#5D134F #2A5D13 #135D46
monochromatic
#190516 #2A0924 #5D134F #901D7A #C328A5

Accessibility & contrast

On white

12.56
#5D134F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D134F
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D134F#FFFFFF#000000##FFFFFF
##5D134F1.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152C51
Deuteranopia (green-blind)
#2F374D
Tritanopia (blue-blind)
#62182F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5d134f;
/* rgb */ color: rgb(93, 19, 79);
/* oklch */ color: oklch(33.9% 0.127 336.9);
Tailwind
colors: {
  custom: {
    50: '#8e5a80',
    500: '#5d134f',
    950: '#000000',
  },
}
SCSS
$custom: #5d134f;
$custom-light: #8e5a80;
$custom-dark: #000000;
JSON
{
  "hex": "#5d134f",
  "rgb": {
    "r": 93,
    "g": 19,
    "b": 79
  },
  "hsl": {
    "h": 311.351,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33938,
    "c": 0.1265,
    "h": 336.9
  },
  "luminance": 0.03357
}

Semantic roles & 50–950 ramp

primary
#5D134F
secondary
#379549
accent
#E95F3F
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0D040A
muted
#7D797C

Preview Lab

Preview with #5D134F

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

Preview Lab → · Contrast checker → · Palette generator →

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