#5B1033#5B1033

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

Color values

HEX#5B1033
RGBrgb(91, 16, 51)
HSLhsl(332, 70%, 21%)
HSVhsv(332, 82%, 36%)
CMYKcmyk(0%, 82.4%, 44%, 64.3%)
CIE-LABlab(19.37, 36.11, -2.06)
CIE-LCHlch(19.37, 36.17, 356.73°)
OKLaboklab(31.95% 0.111 -0.005)
OKLCHoklch(31.95% 0.111 357.4)
XYZxyz(5.0976, 2.8344, 3.4100)
Luminance0.0283 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1033 #105B38
analogous
#5B1058 #5B1033 #5B1210
triadic
#5B1033 #335B10 #10335B
tetradic
#5B1033 #585B10 #105B38 #12105B
square
#5B1033 #585B10 #105B38 #12105B
split-complementary
#5B1033 #105B12 #10585B
monochromatic
#1A050F #270716 #5B1033 #8F1950 #C3226D

Accessibility & contrast

On white

13.40
#5B1033 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B1033
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1033#FFFFFF#000000##FFFFFF
##5B10331.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202634
Deuteranopia (green-blind)
#353431
Tritanopia (blue-blind)
#630520
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5b1033;
/* rgb */ color: rgb(91, 16, 51);
/* oklch */ color: oklch(32.0% 0.111 357.4);
Tailwind
colors: {
  custom: {
    50: '#8d576a',
    500: '#5b1033',
    950: '#000000',
  },
}
SCSS
$custom: #5b1033;
$custom-light: #8d576a;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1033",
  "rgb": {
    "r": 91,
    "g": 16,
    "b": 51
  },
  "hsl": {
    "h": 332,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31951,
    "c": 0.11109,
    "h": 357.4
  },
  "luminance": 0.02834
}

Semantic roles & 50–950 ramp

primary
#5B1033
secondary
#339467
accent
#ED9A3B
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0306
muted
#7E787A

Preview Lab

Preview with #5B1033

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

Preview Lab → · Contrast checker → · Palette generator →

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