#5B1439#5B1439

#5B1439 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.6% C 0.109 H 353.0°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#5B1439
RGBrgb(91, 20, 57)
HSLhsl(329, 64%, 22%)
HSVhsv(329, 78%, 36%)
CMYKcmyk(0%, 78%, 37.4%, 64.3%)
CIE-LABlab(20.13, 35.35, -5.15)
CIE-LCHlch(20.13, 35.72, 351.71°)
OKLaboklab(32.58% 0.1083 -0.0132)
OKLCHoklch(32.58% 0.109 353)
XYZxyz(5.3034, 3.0205, 4.1738)
Luminance0.0302 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1439 #145B36
analogous
#5A145B #5B1439 #5B1416
triadic
#5B1439 #395B14 #14395B
tetradic
#5B1439 #5B5A14 #145B36 #14165B
square
#5B1439 #5B5A14 #145B36 #14165B
split-complementary
#5B1439 #165B14 #145B5A
monochromatic
#190610 #29091A #5B1439 #8D1F58 #BF2A78

Accessibility & contrast

On white

13.09
#5B1439 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#5B1439 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1439
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1439#FFFFFF#000000##FFFFFF
##5B14391.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21283A
Deuteranopia (green-blind)
#353537
Tritanopia (blue-blind)
#630E24
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5b1439;
/* rgb */ color: rgb(91, 20, 57);
/* oklch */ color: oklch(32.6% 0.109 353.0);
Tailwind
colors: {
  custom: {
    50: '#8d596f',
    500: '#5b1439',
    950: '#000000',
  },
}
SCSS
$custom: #5b1439;
$custom-light: #8d596f;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1439",
  "rgb": {
    "r": 91,
    "g": 20,
    "b": 57
  },
  "hsl": {
    "h": 328.732,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32582,
    "c": 0.10908,
    "h": 353
  },
  "luminance": 0.0302
}

Semantic roles & 50–950 ramp

primary
#5B1439
secondary
#389363
accent
#E79041
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0D0407
muted
#7D797A

Preview Lab

Preview with #5B1439

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

Preview Lab → · Contrast checker → · Palette generator →

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