#5B1541#5B1541

#5B1541 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 33.0% C 0.112 H 346.4°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#5B1541
RGBrgb(91, 21, 65)
HSLhsl(322, 63%, 22%)
HSVhsv(322, 77%, 36%)
CMYKcmyk(0%, 76.9%, 28.6%, 64.3%)
CIE-LABlab(20.61, 36.04, -9.98)
CIE-LCHlch(20.61, 37.40, 344.52°)
OKLaboklab(33.05% 0.1093 -0.0264)
OKLCHoklch(33.05% 0.112 346.4)
XYZxyz(5.5369, 3.1427, 5.3150)
Luminance0.0314 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1541 #155B2F
analogous
#52155B #5B1541 #5B151E
triadic
#5B1541 #415B15 #15415B
tetradic
#5B1541 #5B5215 #155B2F #151E5B
square
#5B1541 #5B5215 #155B2F #151E5B
split-complementary
#5B1541 #1E5B15 #155B52
monochromatic
#190612 #290A1D #5B1541 #8D2065 #BE2C88

Accessibility & contrast

On white

12.90
#5B1541 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#5B1541 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1541
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1541#FFFFFF#000000##FFFFFF
##5B15411.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2A42
Deuteranopia (green-blind)
#33363F
Tritanopia (blue-blind)
#621329
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5b1541;
/* rgb */ color: rgb(91, 21, 65);
/* oklch */ color: oklch(33.0% 0.112 346.4);
Tailwind
colors: {
  custom: {
    50: '#8c5a75',
    500: '#5b1541',
    950: '#000000',
  },
}
SCSS
$custom: #5b1541;
$custom-light: #8c5a75;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1541",
  "rgb": {
    "r": 91,
    "g": 21,
    "b": 65
  },
  "hsl": {
    "h": 322.286,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33045,
    "c": 0.11246,
    "h": 346.4
  },
  "luminance": 0.03142
}

Semantic roles & 50–950 ramp

primary
#5B1541
secondary
#39925A
accent
#E67F42
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0408
muted
#7D797B

Preview Lab

Preview with #5B1541

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

Preview Lab → · Contrast checker → · Palette generator →

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