#5B144E#5B144E

#5B144E is a dark, vivid pink. Relative luminance 0.033; OKLCH L 33.6% C 0.123 H 336.4°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#5B144E
RGBrgb(91, 20, 78)
HSLhsl(311, 64%, 22%)
HSVhsv(311, 78%, 36%)
CMYKcmyk(0%, 78%, 14.3%, 64.3%)
CIE-LABlab(21.11, 38.45, -18.09)
CIE-LCHlch(21.11, 42.49, 334.80°)
OKLaboklab(33.62% 0.1129 -0.0493)
OKLCHoklch(33.62% 0.123 336.4)
XYZxyz(5.9398, 3.2751, 7.5256)
Luminance0.0328 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B144E #145B21
analogous
#45145B #5B144E #5B142B
triadic
#5B144E #4E5B14 #144E5B
tetradic
#5B144E #5B4514 #145B21 #142B5B
square
#5B144E #5B4514 #145B21 #142B5B
split-complementary
#5B144E #2B5B14 #145B45
monochromatic
#190616 #290923 #5B144E #8D1F79 #BF2AA4

Accessibility & contrast

On white

12.69
#5B144E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#5B144E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B144E
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B144E#FFFFFF#000000##FFFFFF
##5B144E1.0012.691.6612.69
#FFFFFF12.691.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152C50
Deuteranopia (green-blind)
#2E374C
Tritanopia (blue-blind)
#60192F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5b144e;
/* rgb */ color: rgb(91, 20, 78);
/* oklch */ color: oklch(33.6% 0.123 336.4);
Tailwind
colors: {
  custom: {
    50: '#8c5a7f',
    500: '#5b144e',
    950: '#000000',
  },
}
SCSS
$custom: #5b144e;
$custom-light: #8c5a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#5b144e",
  "rgb": {
    "r": 91,
    "g": 20,
    "b": 78
  },
  "hsl": {
    "h": 310.986,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33623,
    "c": 0.12319,
    "h": 336.4
  },
  "luminance": 0.03275
}

Semantic roles & 50–950 ramp

primary
#5B144E
secondary
#389349
accent
#E75F41
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #5B144E

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

Preview Lab → · Contrast checker → · Palette generator →

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