#5B1545#5B1545

#5B1545 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.2% C 0.115 H 343.2°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#5B1545
RGBrgb(91, 21, 69)
HSLhsl(319, 63%, 22%)
HSVhsv(319, 77%, 36%)
CMYKcmyk(0%, 76.9%, 24.2%, 64.3%)
CIE-LABlab(20.79, 36.63, -12.45)
CIE-LCHlch(20.79, 38.69, 341.23°)
OKLaboklab(33.24% 0.1103 -0.0333)
OKLCHoklch(33.24% 0.115 343.2)
XYZxyz(5.6569, 3.1907, 5.9470)
Luminance0.0319 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1545 #155B2B
analogous
#4E155B #5B1545 #5B1522
triadic
#5B1545 #455B15 #15455B
tetradic
#5B1545 #5B4E15 #155B2B #15225B
square
#5B1545 #5B4E15 #155B2B #15225B
split-complementary
#5B1545 #225B15 #155B4E
monochromatic
#190613 #290A1F #5B1545 #8D206B #BE2C90

Accessibility & contrast

On white

12.82
#5B1545 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#5B1545 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1545
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1545#FFFFFF#000000##FFFFFF
##5B15451.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2B46
Deuteranopia (green-blind)
#323643
Tritanopia (blue-blind)
#61152B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5b1545;
/* rgb */ color: rgb(91, 21, 69);
/* oklch */ color: oklch(33.2% 0.115 343.2);
Tailwind
colors: {
  custom: {
    50: '#8c5a78',
    500: '#5b1545',
    950: '#000000',
  },
}
SCSS
$custom: #5b1545;
$custom-light: #8c5a78;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1545",
  "rgb": {
    "r": 91,
    "g": 21,
    "b": 69
  },
  "hsl": {
    "h": 318.857,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.3324,
    "c": 0.11517,
    "h": 343.2
  },
  "luminance": 0.0319
}

Semantic roles & 50–950 ramp

primary
#5B1545
secondary
#399255
accent
#E67642
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0409
muted
#7D797B

Preview Lab

Preview with #5B1545

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

Preview Lab → · Contrast checker → · Palette generator →

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