#5B144B#5B144B

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

Color values

HEX#5B144B
RGBrgb(91, 20, 75)
HSLhsl(314, 64%, 22%)
HSVhsv(314, 78%, 36%)
CMYKcmyk(0%, 78%, 17.6%, 64.3%)
CIE-LABlab(20.95, 37.96, -16.30)
CIE-LCHlch(20.95, 41.31, 336.76°)
OKLaboklab(33.46% 0.1125 -0.0442)
OKLCHoklch(33.46% 0.121 338.6)
XYZxyz(5.8347, 3.2330, 6.9720)
Luminance0.0323 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B144B #145B24
analogous
#48145B #5B144B #5B1428
triadic
#5B144B #4B5B14 #144B5B
tetradic
#5B144B #5B4814 #145B24 #14285B
square
#5B144B #5B4814 #145B24 #14285B
split-complementary
#5B144B #285B14 #145B48
monochromatic
#190615 #290922 #5B144B #8D1F74 #BF2A9E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B144B#FFFFFF#000000##FFFFFF
##5B144B1.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)
#182B4D
Deuteranopia (green-blind)
#2F3649
Tritanopia (blue-blind)
#60172D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5b144b;
/* rgb */ color: rgb(91, 20, 75);
/* oklch */ color: oklch(33.5% 0.121 338.6);
Tailwind
colors: {
  custom: {
    50: '#8c597d',
    500: '#5b144b',
    950: '#000000',
  },
}
SCSS
$custom: #5b144b;
$custom-light: #8c597d;
$custom-dark: #000000;
JSON
{
  "hex": "#5b144b",
  "rgb": {
    "r": 91,
    "g": 20,
    "b": 75
  },
  "hsl": {
    "h": 313.521,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33456,
    "c": 0.12087,
    "h": 338.6
  },
  "luminance": 0.03232
}

Semantic roles & 50–950 ramp

primary
#5B144B
secondary
#38934C
accent
#E76641
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C0409
muted
#7D797B

Preview Lab

Preview with #5B144B

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

Preview Lab → · Contrast checker → · Palette generator →

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