#5B1035#5B1035

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

Color values

HEX#5B1035
RGBrgb(91, 16, 53)
HSLhsl(330, 70%, 21%)
HSVhsv(330, 82%, 36%)
CMYKcmyk(0%, 82.4%, 41.8%, 64.3%)
CIE-LABlab(19.44, 36.34, -3.36)
CIE-LCHlch(19.44, 36.50, 354.71°)
OKLaboklab(32.03% 0.1117 -0.0084)
OKLCHoklch(32.03% 0.112 355.7)
XYZxyz(5.1426, 2.8524, 3.6472)
Luminance0.0285 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1035 #105B36
analogous
#5B105A #5B1035 #5B1010
triadic
#5B1035 #355B10 #10355B
tetradic
#5B1035 #5A5B10 #105B36 #10105B
square
#5B1035 #5A5B10 #105B36 #10105B
split-complementary
#5B1035 #105B10 #105A5B
monochromatic
#1A050F #270717 #5B1035 #8F1953 #C32272

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B1035#FFFFFF#000000##FFFFFF
##5B10351.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)
#202636
Deuteranopia (green-blind)
#343433
Tritanopia (blue-blind)
#630621
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5b1035;
/* rgb */ color: rgb(91, 16, 53);
/* oklch */ color: oklch(32.0% 0.112 355.7);
Tailwind
colors: {
  custom: {
    50: '#8d576c',
    500: '#5b1035',
    950: '#000000',
  },
}
SCSS
$custom: #5b1035;
$custom-light: #8d576c;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1035",
  "rgb": {
    "r": 91,
    "g": 16,
    "b": 53
  },
  "hsl": {
    "h": 330.4,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32031,
    "c": 0.112,
    "h": 355.7
  },
  "luminance": 0.02852
}

Semantic roles & 50–950 ramp

primary
#5B1035
secondary
#339464
accent
#ED953B
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0306
muted
#7E787A

Preview Lab

Preview with #5B1035

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

Preview Lab → · Contrast checker → · Palette generator →

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