#5B144F#5B144F

#5B144F is a dark, vivid pink. Relative luminance 0.033; OKLCH L 33.7% C 0.124 H 335.7°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#5B144F
RGBrgb(91, 20, 79)
HSLhsl(310, 64%, 22%)
HSVhsv(310, 78%, 36%)
CMYKcmyk(0%, 78%, 13.2%, 64.3%)
CIE-LABlab(21.17, 38.61, -18.68)
CIE-LCHlch(21.17, 42.89, 334.18°)
OKLaboklab(33.68% 0.113 -0.051)
OKLCHoklch(33.68% 0.124 335.7)
XYZxyz(5.9759, 3.2895, 7.7158)
Luminance0.0329 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B144F #145B20
analogous
#44145B #5B144F #5B142C
triadic
#5B144F #4F5B14 #144F5B
tetradic
#5B144F #5B4414 #145B20 #142C5B
square
#5B144F #5B4414 #145B20 #142C5B
split-complementary
#5B144F #2C5B14 #145B44
monochromatic
#190616 #290923 #5B144F #8D1F7B #BF2AA6

Accessibility & contrast

On white

12.67
#5B144F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B144F
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B144F#FFFFFF#000000##FFFFFF
##5B144F1.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152C51
Deuteranopia (green-blind)
#2D374D
Tritanopia (blue-blind)
#601930
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5b144f;
/* rgb */ color: rgb(91, 20, 79);
/* oklch */ color: oklch(33.7% 0.124 335.7);
Tailwind
colors: {
  custom: {
    50: '#8c5a80',
    500: '#5b144f',
    950: '#000000',
  },
}
SCSS
$custom: #5b144f;
$custom-light: #8c5a80;
$custom-dark: #000000;
JSON
{
  "hex": "#5b144f",
  "rgb": {
    "r": 91,
    "g": 20,
    "b": 79
  },
  "hsl": {
    "h": 310.141,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.3368,
    "c": 0.12398,
    "h": 335.7
  },
  "luminance": 0.03289
}

Semantic roles & 50–950 ramp

primary
#5B144F
secondary
#389347
accent
#E75D41
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #5B144F

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

Preview Lab → · Contrast checker → · Palette generator →

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