#5B144C#5B144C

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

Color values

HEX#5B144C
RGBrgb(91, 20, 76)
HSLhsl(313, 64%, 22%)
HSVhsv(313, 78%, 36%)
CMYKcmyk(0%, 78%, 16.5%, 64.3%)
CIE-LABlab(21.01, 38.12, -16.90)
CIE-LCHlch(21.01, 41.70, 336.09°)
OKLaboklab(33.51% 0.1127 -0.0459)
OKLCHoklch(33.51% 0.122 337.8)
XYZxyz(5.8692, 3.2468, 7.1537)
Luminance0.0325 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B144C #145B23
analogous
#47145B #5B144C #5B1429
triadic
#5B144C #4C5B14 #144C5B
tetradic
#5B144C #5B4714 #145B23 #14295B
square
#5B144C #5B4714 #145B23 #14295B
split-complementary
#5B144C #295B14 #145B47
monochromatic
#190615 #290922 #5B144C #8D1F76 #BF2AA0

Accessibility & contrast

On white

12.73
#5B144C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B144C
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B144C#FFFFFF#000000##FFFFFF
##5B144C1.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172B4E
Deuteranopia (green-blind)
#2F364A
Tritanopia (blue-blind)
#60182E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5b144c;
/* rgb */ color: rgb(91, 20, 76);
/* oklch */ color: oklch(33.5% 0.122 337.8);
Tailwind
colors: {
  custom: {
    50: '#8c5a7e',
    500: '#5b144c',
    950: '#000000',
  },
}
SCSS
$custom: #5b144c;
$custom-light: #8c5a7e;
$custom-dark: #000000;
JSON
{
  "hex": "#5b144c",
  "rgb": {
    "r": 91,
    "g": 20,
    "b": 76
  },
  "hsl": {
    "h": 312.676,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33511,
    "c": 0.12163,
    "h": 337.8
  },
  "luminance": 0.03246
}

Semantic roles & 50–950 ramp

primary
#5B144C
secondary
#38934B
accent
#E76441
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #5B144C

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

Preview Lab → · Contrast checker → · Palette generator →

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