#5B1537#5B1537

#5B1537 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.6% C 0.107 H 355.1°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#5B1537
RGBrgb(91, 21, 55)
HSLhsl(331, 63%, 22%)
HSVhsv(331, 77%, 36%)
CMYKcmyk(0%, 76.9%, 39.6%, 64.3%)
CIE-LABlab(20.19, 34.69, -3.65)
CIE-LCHlch(20.19, 34.89, 353.99°)
OKLaboklab(32.6% 0.1064 -0.0092)
OKLCHoklch(32.6% 0.107 355.1)
XYZxyz(5.2725, 3.0369, 3.9222)
Luminance0.0304 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1537 #155B39
analogous
#5B155A #5B1537 #5B1615
triadic
#5B1537 #375B15 #15375B
tetradic
#5B1537 #5A5B15 #155B39 #16155B
square
#5B1537 #5A5B15 #155B39 #16155B
split-complementary
#5B1537 #155B16 #155A5B
monochromatic
#19060F #290A19 #5B1537 #8D2055 #BE2C73

Accessibility & contrast

On white

13.07
#5B1537 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B1537
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1537#FFFFFF#000000##FFFFFF
##5B15371.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222838
Deuteranopia (green-blind)
#353535
Tritanopia (blue-blind)
#630E24
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5b1537;
/* rgb */ color: rgb(91, 21, 55);
/* oklch */ color: oklch(32.6% 0.107 355.1);
Tailwind
colors: {
  custom: {
    50: '#8d596d',
    500: '#5b1537',
    950: '#000000',
  },
}
SCSS
$custom: #5b1537;
$custom-light: #8d596d;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1537",
  "rgb": {
    "r": 91,
    "g": 21,
    "b": 55
  },
  "hsl": {
    "h": 330.857,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32604,
    "c": 0.10675,
    "h": 355.1
  },
  "luminance": 0.03036
}

Semantic roles & 50–950 ramp

primary
#5B1537
secondary
#399267
accent
#E69642
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0D0407
muted
#7D797A

Preview Lab

Preview with #5B1537

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

Preview Lab → · Contrast checker → · Palette generator →

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