#5B1036#5B1036

#5B1036 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.1% C 0.112 H 354.8°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#5B1036
RGBrgb(91, 16, 54)
HSLhsl(330, 70%, 21%)
HSVhsv(330, 82%, 36%)
CMYKcmyk(0%, 82.4%, 40.7%, 64.3%)
CIE-LABlab(19.48, 36.46, -4.01)
CIE-LCHlch(19.48, 36.68, 353.72°)
OKLaboklab(32.07% 0.112 -0.0101)
OKLCHoklch(32.07% 0.112 354.8)
XYZxyz(5.1659, 2.8617, 3.7696)
Luminance0.0286 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1036 #105B35
analogous
#5A105B #5B1036 #5B1010
triadic
#5B1036 #365B10 #10365B
tetradic
#5B1036 #5B5A10 #105B35 #10105B
square
#5B1036 #5B5A10 #105B35 #10105B
split-complementary
#5B1036 #105B10 #105B5A
monochromatic
#1A050F #270717 #5B1036 #8F1955 #C32274

Accessibility & contrast

On white

13.36
#5B1036 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B1036
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1036#FFFFFF#000000##FFFFFF
##5B10361.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2637
Deuteranopia (green-blind)
#343434
Tritanopia (blue-blind)
#630721
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5b1036;
/* rgb */ color: rgb(91, 16, 54);
/* oklch */ color: oklch(32.1% 0.112 354.8);
Tailwind
colors: {
  custom: {
    50: '#8d576c',
    500: '#5b1036',
    950: '#000000',
  },
}
SCSS
$custom: #5b1036;
$custom-light: #8d576c;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1036",
  "rgb": {
    "r": 91,
    "g": 16,
    "b": 54
  },
  "hsl": {
    "h": 329.6,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32071,
    "c": 0.11247,
    "h": 354.8
  },
  "luminance": 0.02861
}

Semantic roles & 50–950 ramp

primary
#5B1036
secondary
#339463
accent
#ED933B
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0307
muted
#7E787A

Preview Lab

Preview with #5B1036

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

Preview Lab → · Contrast checker → · Palette generator →

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