#5B134C#5B134C

#5B134C is a dark, vivid pink. Relative luminance 0.032; OKLCH L 33.4% C 0.123 H 337.8°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#5B134C
RGBrgb(91, 19, 76)
HSLhsl(313, 65%, 22%)
HSVhsv(313, 79%, 36%)
CMYKcmyk(0%, 79.1%, 16.5%, 64.3%)
CIE-LABlab(20.87, 38.49, -17.10)
CIE-LCHlch(20.87, 42.12, 336.04°)
OKLaboklab(33.42% 0.1138 -0.0464)
OKLCHoklch(33.42% 0.123 337.8)
XYZxyz(5.8519, 3.2122, 7.1479)
Luminance0.0321 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B134C #135B22
analogous
#46135B #5B134C #5B1328
triadic
#5B134C #4C5B13 #134C5B
tetradic
#5B134C #5B4613 #135B22 #13285B
square
#5B134C #5B4613 #135B22 #13285B
split-complementary
#5B134C #285B13 #135B46
monochromatic
#190515 #280822 #5B134C #8E1E76 #C028A1

Accessibility & contrast

On white

12.79
#5B134C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B134C
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B134C#FFFFFF#000000##FFFFFF
##5B134C1.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162B4E
Deuteranopia (green-blind)
#2E364A
Tritanopia (blue-blind)
#60172E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5b134c;
/* rgb */ color: rgb(91, 19, 76);
/* oklch */ color: oklch(33.4% 0.123 337.8);
Tailwind
colors: {
  custom: {
    50: '#8c597e',
    500: '#5b134c',
    950: '#000000',
  },
}
SCSS
$custom: #5b134c;
$custom-light: #8c597e;
$custom-dark: #000000;
JSON
{
  "hex": "#5b134c",
  "rgb": {
    "r": 91,
    "g": 19,
    "b": 76
  },
  "hsl": {
    "h": 312.5,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33416,
    "c": 0.12288,
    "h": 337.8
  },
  "luminance": 0.03212
}

Semantic roles & 50–950 ramp

primary
#5B134C
secondary
#37934A
accent
#E8633F
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #5B134C

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

Preview Lab → · Contrast checker → · Palette generator →

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