#5B1539#5B1539

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

Color values

HEX#5B1539
RGBrgb(91, 21, 57)
HSLhsl(329, 63%, 22%)
HSVhsv(329, 77%, 36%)
CMYKcmyk(0%, 76.9%, 37.4%, 64.3%)
CIE-LABlab(20.27, 34.95, -4.94)
CIE-LCHlch(20.27, 35.29, 351.96°)
OKLaboklab(32.69% 0.107 -0.0126)
OKLCHoklch(32.69% 0.108 353.3)
XYZxyz(5.3214, 3.0565, 4.1798)
Luminance0.0306 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1539 #155B37
analogous
#5A155B #5B1539 #5B1516
triadic
#5B1539 #395B15 #15395B
tetradic
#5B1539 #5B5A15 #155B37 #15165B
square
#5B1539 #5B5A15 #155B37 #15165B
split-complementary
#5B1539 #165B15 #155B5A
monochromatic
#190610 #290A1A #5B1539 #8D2058 #BE2C77

Accessibility & contrast

On white

13.03
#5B1539 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B1539
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1539#FFFFFF#000000##FFFFFF
##5B15391.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21293A
Deuteranopia (green-blind)
#353637
Tritanopia (blue-blind)
#630F25
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5b1539;
/* rgb */ color: rgb(91, 21, 57);
/* oklch */ color: oklch(32.7% 0.108 353.3);
Tailwind
colors: {
  custom: {
    50: '#8d596f',
    500: '#5b1539',
    950: '#000000',
  },
}
SCSS
$custom: #5b1539;
$custom-light: #8d596f;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1539",
  "rgb": {
    "r": 91,
    "g": 21,
    "b": 57
  },
  "hsl": {
    "h": 329.143,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32687,
    "c": 0.10776,
    "h": 353.3
  },
  "luminance": 0.03056
}

Semantic roles & 50–950 ramp

primary
#5B1539
secondary
#399265
accent
#E69242
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0D0407
muted
#7D797A

Preview Lab

Preview with #5B1539

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

Preview Lab → · Contrast checker → · Palette generator →

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