#5B1032#5B1032

#5B1032 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.9% C 0.111 H 358.3°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#5B1032
RGBrgb(91, 16, 50)
HSLhsl(333, 70%, 21%)
HSVhsv(333, 82%, 36%)
CMYKcmyk(0%, 82.4%, 45.1%, 64.3%)
CIE-LABlab(19.33, 36.00, -1.41)
CIE-LCHlch(19.33, 36.02, 357.76°)
OKLaboklab(31.91% 0.1106 -0.0032)
OKLCHoklch(31.91% 0.111 358.3)
XYZxyz(5.0758, 2.8257, 3.2951)
Luminance0.0283 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1032 #105B39
analogous
#5B1057 #5B1032 #5B1310
triadic
#5B1032 #325B10 #10325B
tetradic
#5B1032 #575B10 #105B39 #13105B
square
#5B1032 #575B10 #105B39 #13105B
split-complementary
#5B1032 #105B13 #10575B
monochromatic
#1A050E #270715 #5B1032 #8F194F #C3226B

Accessibility & contrast

On white

13.42
#5B1032 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B1032
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1032#FFFFFF#000000##FFFFFF
##5B10321.0013.421.5713.42
#FFFFFF13.421.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b1032;
/* rgb */ color: rgb(91, 16, 50);
/* oklch */ color: oklch(31.9% 0.111 358.3);
Tailwind
colors: {
  custom: {
    50: '#8d5769',
    500: '#5b1032',
    950: '#000000',
  },
}
SCSS
$custom: #5b1032;
$custom-light: #8d5769;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1032",
  "rgb": {
    "r": 91,
    "g": 16,
    "b": 50
  },
  "hsl": {
    "h": 332.8,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31913,
    "c": 0.11068,
    "h": 358.3
  },
  "luminance": 0.02825
}

Semantic roles & 50–950 ramp

primary
#5B1032
secondary
#339468
accent
#ED9C3B
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0306
muted
#7E787A

Preview Lab

Preview with #5B1032

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

Preview Lab → · Contrast checker → · Palette generator →

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