#5B144A#5B144A

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

Color values

HEX#5B144A
RGBrgb(91, 20, 74)
HSLhsl(314, 64%, 22%)
HSVhsv(314, 78%, 36%)
CMYKcmyk(0%, 78%, 18.7%, 64.3%)
CIE-LABlab(20.90, 37.80, -15.70)
CIE-LCHlch(20.90, 40.93, 337.44°)
OKLaboklab(33.4% 0.1124 -0.0424)
OKLCHoklch(33.4% 0.12 339.3)
XYZxyz(5.8007, 3.2194, 6.7932)
Luminance0.0322 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B144A #145B25
analogous
#49145B #5B144A #5B1427
triadic
#5B144A #4A5B14 #144A5B
tetradic
#5B144A #5B4914 #145B25 #14275B
square
#5B144A #5B4914 #145B25 #14275B
split-complementary
#5B144A #275B14 #145B49
monochromatic
#190614 #290921 #5B144A #8D1F73 #BF2A9C

Accessibility & contrast

On white

12.78
#5B144A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B144A
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B144A#FFFFFF#000000##FFFFFF
##5B144A1.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182B4B
Deuteranopia (green-blind)
#2F3648
Tritanopia (blue-blind)
#61172D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5b144a;
/* rgb */ color: rgb(91, 20, 74);
/* oklch */ color: oklch(33.4% 0.120 339.3);
Tailwind
colors: {
  custom: {
    50: '#8c597c',
    500: '#5b144a',
    950: '#000000',
  },
}
SCSS
$custom: #5b144a;
$custom-light: #8c597c;
$custom-dark: #000000;
JSON
{
  "hex": "#5b144a",
  "rgb": {
    "r": 91,
    "g": 20,
    "b": 74
  },
  "hsl": {
    "h": 314.366,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33401,
    "c": 0.12011,
    "h": 339.3
  },
  "luminance": 0.03219
}

Semantic roles & 50–950 ramp

primary
#5B144A
secondary
#38934E
accent
#E76941
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C0409
muted
#7D797B

Preview Lab

Preview with #5B144A

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

Preview Lab → · Contrast checker → · Palette generator →

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