#5B1433#5B1433

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

Color values

HEX#5B1433
RGBrgb(91, 20, 51)
HSLhsl(334, 64%, 22%)
HSVhsv(334, 78%, 36%)
CMYKcmyk(0%, 78%, 44%, 64.3%)
CIE-LABlab(19.90, 34.61, -1.28)
CIE-LCHlch(19.90, 34.64, 357.88°)
OKLaboklab(32.34% 0.1062 -0.0029)
OKLCHoklch(32.34% 0.106 358.4)
XYZxyz(5.1624, 2.9641, 3.4316)
Luminance0.0296 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1433 #145B3C
analogous
#5B1457 #5B1433 #5B1914
triadic
#5B1433 #335B14 #14335B
tetradic
#5B1433 #575B14 #145B3C #19145B
square
#5B1433 #575B14 #145B3C #19145B
split-complementary
#5B1433 #145B19 #14575B
monochromatic
#19060E #290917 #5B1433 #8D1F4F #BF2A6B

Accessibility & contrast

On white

13.19
#5B1433 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B1433
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1433#FFFFFF#000000##FFFFFF
##5B14331.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232834
Deuteranopia (green-blind)
#363531
Tritanopia (blue-blind)
#630B21
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5b1433;
/* rgb */ color: rgb(91, 20, 51);
/* oklch */ color: oklch(32.3% 0.106 358.4);
Tailwind
colors: {
  custom: {
    50: '#8d596a',
    500: '#5b1433',
    950: '#000000',
  },
}
SCSS
$custom: #5b1433;
$custom-light: #8d596a;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1433",
  "rgb": {
    "r": 91,
    "g": 20,
    "b": 51
  },
  "hsl": {
    "h": 333.803,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32342,
    "c": 0.10626,
    "h": 358.4
  },
  "luminance": 0.02963
}

Semantic roles & 50–950 ramp

primary
#5B1433
secondary
#38936B
accent
#E79E41
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5B1433

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

Preview Lab → · Contrast checker → · Palette generator →

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