#5B144D#5B144D

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

Color values

HEX#5B144D
RGBrgb(91, 20, 77)
HSLhsl(312, 64%, 22%)
HSVhsv(312, 78%, 36%)
CMYKcmyk(0%, 78%, 15.4%, 64.3%)
CIE-LABlab(21.06, 38.28, -17.49)
CIE-LCHlch(21.06, 42.09, 335.44°)
OKLaboklab(33.57% 0.1128 -0.0476)
OKLCHoklch(33.57% 0.122 337.1)
XYZxyz(5.9042, 3.2608, 7.3382)
Luminance0.0326 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B144D #145B22
analogous
#46145B #5B144D #5B142A
triadic
#5B144D #4D5B14 #144D5B
tetradic
#5B144D #5B4614 #145B22 #142A5B
square
#5B144D #5B4614 #145B22 #142A5B
split-complementary
#5B144D #2A5B14 #145B46
monochromatic
#190615 #290923 #5B144D #8D1F77 #BF2AA2

Accessibility & contrast

On white

12.71
#5B144D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B144D
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B144D#FFFFFF#000000##FFFFFF
##5B144D1.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162C4F
Deuteranopia (green-blind)
#2E364B
Tritanopia (blue-blind)
#60182F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5b144d;
/* rgb */ color: rgb(91, 20, 77);
/* oklch */ color: oklch(33.6% 0.122 337.1);
Tailwind
colors: {
  custom: {
    50: '#8c5a7f',
    500: '#5b144d',
    950: '#000000',
  },
}
SCSS
$custom: #5b144d;
$custom-light: #8c5a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#5b144d",
  "rgb": {
    "r": 91,
    "g": 20,
    "b": 77
  },
  "hsl": {
    "h": 311.831,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33567,
    "c": 0.12241,
    "h": 337.1
  },
  "luminance": 0.0326
}

Semantic roles & 50–950 ramp

primary
#5B144D
secondary
#38934A
accent
#E76241
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #5B144D

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

Preview Lab → · Contrast checker → · Palette generator →

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