#5B1437#5B1437

#5B1437 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.5% C 0.108 H 354.8°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#5B1437
RGBrgb(91, 20, 55)
HSLhsl(330, 64%, 22%)
HSVhsv(330, 78%, 36%)
CMYKcmyk(0%, 78%, 39.6%, 64.3%)
CIE-LABlab(20.05, 35.10, -3.87)
CIE-LCHlch(20.05, 35.31, 353.71°)
OKLaboklab(32.5% 0.1076 -0.0098)
OKLCHoklch(32.5% 0.108 354.8)
XYZxyz(5.2545, 3.0009, 3.9162)
Luminance0.0300 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1437 #145B38
analogous
#5B145B #5B1437 #5B1514
triadic
#5B1437 #375B14 #14375B
tetradic
#5B1437 #5B5B14 #145B38 #15145B
square
#5B1437 #5B5B14 #145B38 #15145B
split-complementary
#5B1437 #145B15 #145B5B
monochromatic
#19060F #290919 #5B1437 #8D1F55 #BF2A74

Accessibility & contrast

On white

13.13
#5B1437 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#5B1437 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1437
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1437#FFFFFF#000000##FFFFFF
##5B14371.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212838
Deuteranopia (green-blind)
#353535
Tritanopia (blue-blind)
#630D23
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5b1437;
/* rgb */ color: rgb(91, 20, 55);
/* oklch */ color: oklch(32.5% 0.108 354.8);
Tailwind
colors: {
  custom: {
    50: '#8d596d',
    500: '#5b1437',
    950: '#000000',
  },
}
SCSS
$custom: #5b1437;
$custom-light: #8d596d;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1437",
  "rgb": {
    "r": 91,
    "g": 20,
    "b": 55
  },
  "hsl": {
    "h": 330.423,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32499,
    "c": 0.10807,
    "h": 354.8
  },
  "luminance": 0.03
}

Semantic roles & 50–950 ramp

primary
#5B1437
secondary
#389366
accent
#E79541
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0D0407
muted
#7D797A

Preview Lab

Preview with #5B1437

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

Preview Lab → · Contrast checker → · Palette generator →

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