#5B1332#5B1332

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

Color values

HEX#5B1332
RGBrgb(91, 19, 50)
HSLhsl(334, 65%, 22%)
HSVhsv(334, 79%, 36%)
CMYKcmyk(0%, 79.1%, 45.1%, 64.3%)
CIE-LABlab(19.72, 34.89, -0.83)
CIE-LCHlch(19.72, 34.90, 358.63°)
OKLaboklab(32.2% 0.1071 -0.0018)
OKLCHoklch(32.2% 0.107 359.1)
XYZxyz(5.1234, 2.9208, 3.3110)
Luminance0.0292 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1332 #135B3C
analogous
#5B1356 #5B1332 #5B1813
triadic
#5B1332 #325B13 #13325B
tetradic
#5B1332 #565B13 #135B3C #18135B
square
#5B1332 #565B13 #135B3C #18135B
split-complementary
#5B1332 #135B18 #13565B
monochromatic
#19050E #280816 #5B1332 #8E1E4E #C0286A

Accessibility & contrast

On white

13.26
#5B1332 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B1332
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1332#FFFFFF#000000##FFFFFF
##5B13321.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222733
Deuteranopia (green-blind)
#363530
Tritanopia (blue-blind)
#630820
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5b1332;
/* rgb */ color: rgb(91, 19, 50);
/* oklch */ color: oklch(32.2% 0.107 359.1);
Tailwind
colors: {
  custom: {
    50: '#8d5869',
    500: '#5b1332',
    950: '#000000',
  },
}
SCSS
$custom: #5b1332;
$custom-light: #8d5869;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1332",
  "rgb": {
    "r": 91,
    "g": 19,
    "b": 50
  },
  "hsl": {
    "h": 334.167,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32201,
    "c": 0.10711,
    "h": 359.1
  },
  "luminance": 0.0292
}

Semantic roles & 50–950 ramp

primary
#5B1332
secondary
#37936B
accent
#E8A03F
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5B1332

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

Preview Lab → · Contrast checker → · Palette generator →

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