#5B1132#5B1132

#5B1132 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.0% C 0.110 H 358.6°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#5B1132
RGBrgb(91, 17, 50)
HSLhsl(333, 69%, 21%)
HSVhsv(333, 81%, 36%)
CMYKcmyk(0%, 81.3%, 45.1%, 64.3%)
CIE-LABlab(19.46, 35.64, -1.22)
CIE-LCHlch(19.46, 35.66, 358.03°)
OKLaboklab(32.01% 0.1095 -0.0028)
OKLCHoklch(32.01% 0.11 358.6)
XYZxyz(5.0909, 2.8560, 3.3002)
Luminance0.0285 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1132 #115B3A
analogous
#5B1157 #5B1132 #5B1511
triadic
#5B1132 #325B11 #11325B
tetradic
#5B1132 #575B11 #115B3A #15115B
square
#5B1132 #575B11 #115B3A #15115B
split-complementary
#5B1132 #115B15 #11575B
monochromatic
#1A050E #270716 #5B1132 #8F1B4E #C2246B

Accessibility & contrast

On white

13.37
#5B1132 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#5B1132 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1132
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1132#FFFFFF#000000##FFFFFF
##5B11321.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212633
Deuteranopia (green-blind)
#353430
Tritanopia (blue-blind)
#63061F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5b1132;
/* rgb */ color: rgb(91, 17, 50);
/* oklch */ color: oklch(32.0% 0.110 358.6);
Tailwind
colors: {
  custom: {
    50: '#8d5769',
    500: '#5b1132',
    950: '#000000',
  },
}
SCSS
$custom: #5b1132;
$custom-light: #8d5769;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1132",
  "rgb": {
    "r": 91,
    "g": 17,
    "b": 50
  },
  "hsl": {
    "h": 333.243,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32005,
    "c": 0.10953,
    "h": 358.6
  },
  "luminance": 0.02855
}

Semantic roles & 50–950 ramp

primary
#5B1132
secondary
#349469
accent
#EB9D3C
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0306
muted
#7E787A

Preview Lab

Preview with #5B1132

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

Preview Lab → · Contrast checker → · Palette generator →

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