#5B1432#5B1432

#5B1432 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.3% C 0.106 H 359.3°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#5B1432
RGBrgb(91, 20, 50)
HSLhsl(335, 64%, 22%)
HSVhsv(335, 78%, 36%)
CMYKcmyk(0%, 78%, 45.1%, 64.3%)
CIE-LABlab(19.86, 34.50, -0.63)
CIE-LCHlch(19.86, 34.50, 358.96°)
OKLaboklab(32.3% 0.1058 -0.0012)
OKLCHoklch(32.3% 0.106 359.3)
XYZxyz(5.1406, 2.9554, 3.3167)
Luminance0.0295 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1432 #145B3D
analogous
#5B1456 #5B1432 #5B1A14
triadic
#5B1432 #325B14 #14325B
tetradic
#5B1432 #565B14 #145B3D #1A145B
square
#5B1432 #565B14 #145B3D #1A145B
split-complementary
#5B1432 #145B1A #14565B
monochromatic
#19060E #290916 #5B1432 #8D1F4E #BF2A69

Accessibility & contrast

On white

13.20
#5B1432 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#5B1432 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1432
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1432#FFFFFF#000000##FFFFFF
##5B14321.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232733
Deuteranopia (green-blind)
#363530
Tritanopia (blue-blind)
#630A21
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5b1432;
/* rgb */ color: rgb(91, 20, 50);
/* oklch */ color: oklch(32.3% 0.106 359.3);
Tailwind
colors: {
  custom: {
    50: '#8d5969',
    500: '#5b1432',
    950: '#000000',
  },
}
SCSS
$custom: #5b1432;
$custom-light: #8d5969;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1432",
  "rgb": {
    "r": 91,
    "g": 20,
    "b": 50
  },
  "hsl": {
    "h": 334.648,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32304,
    "c": 0.10585,
    "h": 359.3
  },
  "luminance": 0.02955
}

Semantic roles & 50–950 ramp

primary
#5B1432
secondary
#38936C
accent
#E7A141
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5B1432

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

Preview Lab → · Contrast checker → · Palette generator →

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