#5B134A#5B134A

#5B134A is a dark, vivid pink. Relative luminance 0.032; OKLCH L 33.3% C 0.121 H 339.2°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#5B134A
RGBrgb(91, 19, 74)
HSLhsl(314, 65%, 22%)
HSVhsv(314, 79%, 36%)
CMYKcmyk(0%, 79.1%, 18.7%, 64.3%)
CIE-LABlab(20.77, 38.17, -15.90)
CIE-LCHlch(20.77, 41.35, 337.38°)
OKLaboklab(33.31% 0.1135 -0.043)
OKLCHoklch(33.31% 0.121 339.2)
XYZxyz(5.7834, 3.1849, 6.7874)
Luminance0.0318 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B134A #135B24
analogous
#48135B #5B134A #5B1326
triadic
#5B134A #4A5B13 #134A5B
tetradic
#5B134A #5B4813 #135B24 #13265B
square
#5B134A #5B4813 #135B24 #13265B
split-complementary
#5B134A #265B13 #135B48
monochromatic
#190515 #280821 #5B134A #8E1E73 #C0289C

Accessibility & contrast

On white

12.83
#5B134A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B134A
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B134A#FFFFFF#000000##FFFFFF
##5B134A1.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172B4C
Deuteranopia (green-blind)
#2F3648
Tritanopia (blue-blind)
#61162D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5b134a;
/* rgb */ color: rgb(91, 19, 74);
/* oklch */ color: oklch(33.3% 0.121 339.2);
Tailwind
colors: {
  custom: {
    50: '#8c597c',
    500: '#5b134a',
    950: '#000000',
  },
}
SCSS
$custom: #5b134a;
$custom-light: #8c597c;
$custom-dark: #000000;
JSON
{
  "hex": "#5b134a",
  "rgb": {
    "r": 91,
    "g": 19,
    "b": 74
  },
  "hsl": {
    "h": 314.167,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33305,
    "c": 0.12137,
    "h": 339.2
  },
  "luminance": 0.03184
}

Semantic roles & 50–950 ramp

primary
#5B134A
secondary
#37934D
accent
#E8673F
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C0409
muted
#7D797B

Preview Lab

Preview with #5B134A

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

Preview Lab → · Contrast checker → · Palette generator →

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