#5B1637#5B1637

#5B1637 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.7% C 0.105 H 355.3°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#5B1637
RGBrgb(91, 22, 55)
HSLhsl(331, 61%, 22%)
HSVhsv(331, 76%, 36%)
CMYKcmyk(0%, 75.8%, 39.6%, 64.3%)
CIE-LABlab(20.34, 34.28, -3.43)
CIE-LCHlch(20.34, 34.45, 354.28°)
OKLaboklab(32.71% 0.1051 -0.0086)
OKLCHoklch(32.71% 0.105 355.3)
XYZxyz(5.2912, 3.0744, 3.9285)
Luminance0.0307 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1637 #165B3A
analogous
#5B165A #5B1637 #5B1716
triadic
#5B1637 #375B16 #16375B
tetradic
#5B1637 #5A5B16 #165B3A #17165B
square
#5B1637 #5A5B16 #165B3A #17165B
split-complementary
#5B1637 #165B17 #165A5B
monochromatic
#19060F #2A0A19 #5B1637 #8C2255 #BE2E73

Accessibility & contrast

On white

13.00
#5B1637 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#5B1637 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1637
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1637#FFFFFF#000000##FFFFFF
##5B16371.0013.001.6113.00
#FFFFFF13.001.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232938
Deuteranopia (green-blind)
#363635
Tritanopia (blue-blind)
#630F24
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5b1637;
/* rgb */ color: rgb(91, 22, 55);
/* oklch */ color: oklch(32.7% 0.105 355.3);
Tailwind
colors: {
  custom: {
    50: '#8d5a6d',
    500: '#5b1637',
    950: '#000000',
  },
}
SCSS
$custom: #5b1637;
$custom-light: #8d5a6d;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1637",
  "rgb": {
    "r": 91,
    "g": 22,
    "b": 55
  },
  "hsl": {
    "h": 331.304,
    "s": 61.062,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32713,
    "c": 0.1054,
    "h": 355.3
  },
  "luminance": 0.03074
}

Semantic roles & 50–950 ramp

primary
#5B1637
secondary
#3B9268
accent
#E49744
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0D0407
muted
#7D797A

Preview Lab

Preview with #5B1637

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

Preview Lab → · Contrast checker → · Palette generator →

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