#5B1136#5B1136

#5B1136 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.2% C 0.111 H 355.0°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#5B1136
RGBrgb(91, 17, 54)
HSLhsl(330, 69%, 21%)
HSVhsv(330, 81%, 36%)
CMYKcmyk(0%, 81.3%, 40.7%, 64.3%)
CIE-LABlab(19.61, 36.11, -3.82)
CIE-LCHlch(19.61, 36.31, 353.95°)
OKLaboklab(32.16% 0.1109 -0.0096)
OKLCHoklch(32.16% 0.111 355)
XYZxyz(5.1810, 2.8920, 3.7747)
Luminance0.0289 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1136 #115B36
analogous
#5B115B #5B1136 #5B1111
triadic
#5B1136 #365B11 #11365B
tetradic
#5B1136 #5B5B11 #115B36 #11115B
square
#5B1136 #5B5B11 #115B36 #11115B
split-complementary
#5B1136 #115B11 #115B5B
monochromatic
#1A050F #270717 #5B1136 #8F1B55 #C22473

Accessibility & contrast

On white

13.31
#5B1136 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#5B1136 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1136
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1136#FFFFFF#000000##FFFFFF
##5B11361.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202737
Deuteranopia (green-blind)
#343434
Tritanopia (blue-blind)
#630821
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5b1136;
/* rgb */ color: rgb(91, 17, 54);
/* oklch */ color: oklch(32.2% 0.111 355.0);
Tailwind
colors: {
  custom: {
    50: '#8d576c',
    500: '#5b1136',
    950: '#000000',
  },
}
SCSS
$custom: #5b1136;
$custom-light: #8d576c;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1136",
  "rgb": {
    "r": 91,
    "g": 17,
    "b": 54
  },
  "hsl": {
    "h": 330,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32163,
    "c": 0.11131,
    "h": 355
  },
  "luminance": 0.02891
}

Semantic roles & 50–950 ramp

primary
#5B1136
secondary
#349464
accent
#EB943C
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0307
muted
#7E787A

Preview Lab

Preview with #5B1136

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

Preview Lab → · Contrast checker → · Palette generator →

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