#5B1337#5B1337

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

Color values

HEX#5B1337
RGBrgb(91, 19, 55)
HSLhsl(330, 65%, 22%)
HSVhsv(330, 79%, 36%)
CMYKcmyk(0%, 79.1%, 39.6%, 64.3%)
CIE-LABlab(19.91, 35.48, -4.07)
CIE-LCHlch(19.91, 35.72, 353.45°)
OKLaboklab(32.4% 0.1089 -0.0103)
OKLCHoklch(32.4% 0.109 354.6)
XYZxyz(5.2372, 2.9664, 3.9105)
Luminance0.0297 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1337 #135B37
analogous
#5B135B #5B1337 #5B1313
triadic
#5B1337 #375B13 #13375B
tetradic
#5B1337 #5B5B13 #135B37 #13135B
square
#5B1337 #5B5B13 #135B37 #13135B
split-complementary
#5B1337 #135B13 #135B5B
monochromatic
#19050F #280818 #5B1337 #8E1E56 #C02874

Accessibility & contrast

On white

13.18
#5B1337 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B1337
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1337#FFFFFF#000000##FFFFFF
##5B13371.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212838
Deuteranopia (green-blind)
#353535
Tritanopia (blue-blind)
#630B23
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5b1337;
/* rgb */ color: rgb(91, 19, 55);
/* oklch */ color: oklch(32.4% 0.109 354.6);
Tailwind
colors: {
  custom: {
    50: '#8d586d',
    500: '#5b1337',
    950: '#000000',
  },
}
SCSS
$custom: #5b1337;
$custom-light: #8d586d;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1337",
  "rgb": {
    "r": 91,
    "g": 19,
    "b": 55
  },
  "hsl": {
    "h": 330,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32397,
    "c": 0.10935,
    "h": 354.6
  },
  "luminance": 0.02966
}

Semantic roles & 50–950 ramp

primary
#5B1337
secondary
#379365
accent
#E8943F
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5B1337

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

Preview Lab → · Contrast checker → · Palette generator →

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