#5B134D#5B134D

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

Color values

HEX#5B134D
RGBrgb(91, 19, 77)
HSLhsl(312, 65%, 22%)
HSVhsv(312, 79%, 36%)
CMYKcmyk(0%, 79.1%, 15.4%, 64.3%)
CIE-LABlab(20.93, 38.65, -17.70)
CIE-LCHlch(20.93, 42.51, 335.40°)
OKLaboklab(33.47% 0.1139 -0.0481)
OKLCHoklch(33.47% 0.124 337.1)
XYZxyz(5.8869, 3.2263, 7.3324)
Luminance0.0323 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B134D #135B21
analogous
#45135B #5B134D #5B1329
triadic
#5B134D #4D5B13 #134D5B
tetradic
#5B134D #5B4513 #135B21 #13295B
square
#5B134D #5B4513 #135B21 #13295B
split-complementary
#5B134D #295B13 #135B45
monochromatic
#190515 #280822 #5B134D #8E1E78 #C028A3

Accessibility & contrast

On white

12.76
#5B134D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B134D
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B134D#FFFFFF#000000##FFFFFF
##5B134D1.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152B4F
Deuteranopia (green-blind)
#2E364B
Tritanopia (blue-blind)
#60172E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5b134d;
/* rgb */ color: rgb(91, 19, 77);
/* oklch */ color: oklch(33.5% 0.124 337.1);
Tailwind
colors: {
  custom: {
    50: '#8c597f',
    500: '#5b134d',
    950: '#000000',
  },
}
SCSS
$custom: #5b134d;
$custom-light: #8c597f;
$custom-dark: #000000;
JSON
{
  "hex": "#5b134d",
  "rgb": {
    "r": 91,
    "g": 19,
    "b": 77
  },
  "hsl": {
    "h": 311.667,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33472,
    "c": 0.12366,
    "h": 337.1
  },
  "luminance": 0.03226
}

Semantic roles & 50–950 ramp

primary
#5B134D
secondary
#379349
accent
#E8603F
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #5B134D

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

Preview Lab → · Contrast checker → · Palette generator →

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