#5B1336#5B1336

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

Color values

HEX#5B1336
RGBrgb(91, 19, 54)
HSLhsl(331, 65%, 22%)
HSVhsv(331, 79%, 36%)
CMYKcmyk(0%, 79.1%, 40.7%, 64.3%)
CIE-LABlab(19.87, 35.36, -3.43)
CIE-LCHlch(19.87, 35.53, 354.46°)
OKLaboklab(32.36% 0.1085 -0.0086)
OKLCHoklch(32.36% 0.109 355.5)
XYZxyz(5.2135, 2.9569, 3.7855)
Luminance0.0296 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1336 #135B38
analogous
#5B135A #5B1336 #5B1413
triadic
#5B1336 #365B13 #13365B
tetradic
#5B1336 #5A5B13 #135B38 #14135B
square
#5B1336 #5A5B13 #135B38 #14135B
split-complementary
#5B1336 #135B14 #135A5B
monochromatic
#19050F #280818 #5B1336 #8E1E54 #C02872

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B1336#FFFFFF#000000##FFFFFF
##5B13361.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)
#212837
Deuteranopia (green-blind)
#353534
Tritanopia (blue-blind)
#630B22
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5b1336;
/* rgb */ color: rgb(91, 19, 54);
/* oklch */ color: oklch(32.4% 0.109 355.5);
Tailwind
colors: {
  custom: {
    50: '#8d586c',
    500: '#5b1336',
    950: '#000000',
  },
}
SCSS
$custom: #5b1336;
$custom-light: #8d586c;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1336",
  "rgb": {
    "r": 91,
    "g": 19,
    "b": 54
  },
  "hsl": {
    "h": 330.833,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32356,
    "c": 0.10886,
    "h": 355.5
  },
  "luminance": 0.02956
}

Semantic roles & 50–950 ramp

primary
#5B1336
secondary
#379366
accent
#E8963F
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5B1336

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

Preview Lab → · Contrast checker → · Palette generator →

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