#5B1535#5B1535

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

Color values

HEX#5B1535
RGBrgb(91, 21, 53)
HSLhsl(333, 63%, 22%)
HSVhsv(333, 77%, 36%)
CMYKcmyk(0%, 76.9%, 41.8%, 64.3%)
CIE-LABlab(20.12, 34.45, -2.36)
CIE-LCHlch(20.12, 34.53, 356.07°)
OKLaboklab(32.53% 0.1057 -0.0058)
OKLCHoklch(32.53% 0.106 356.9)
XYZxyz(5.2255, 3.0182, 3.6749)
Luminance0.0302 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1535 #155B3B
analogous
#5B1558 #5B1535 #5B1815
triadic
#5B1535 #355B15 #15355B
tetradic
#5B1535 #585B15 #155B3B #18155B
square
#5B1535 #585B15 #155B3B #18155B
split-complementary
#5B1535 #155B18 #15585B
monochromatic
#19060E #290A18 #5B1535 #8D2052 #BE2C6F

Accessibility & contrast

On white

13.10
#5B1535 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B1535
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1535#FFFFFF#000000##FFFFFF
##5B15351.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232836
Deuteranopia (green-blind)
#363533
Tritanopia (blue-blind)
#630D23
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5b1535;
/* rgb */ color: rgb(91, 21, 53);
/* oklch */ color: oklch(32.5% 0.106 356.9);
Tailwind
colors: {
  custom: {
    50: '#8d596c',
    500: '#5b1535',
    950: '#000000',
  },
}
SCSS
$custom: #5b1535;
$custom-light: #8d596c;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1535",
  "rgb": {
    "r": 91,
    "g": 21,
    "b": 53
  },
  "hsl": {
    "h": 332.571,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32525,
    "c": 0.10582,
    "h": 356.9
  },
  "luminance": 0.03018
}

Semantic roles & 50–950 ramp

primary
#5B1535
secondary
#39926A
accent
#E69B42
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5B1535

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

Preview Lab → · Contrast checker → · Palette generator →

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