#5B1328#5B1328

#5B1328 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.9% C 0.104 H 8.2°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#5B1328
RGBrgb(91, 19, 40)
HSLhsl(343, 65%, 22%)
HSVhsv(343, 79%, 36%)
CMYKcmyk(0%, 79.1%, 56%, 64.3%)
CIE-LABlab(19.41, 33.86, 5.79)
CIE-LCHlch(19.41, 34.35, 9.70°)
OKLaboklab(31.86% 0.1031 0.0149)
OKLCHoklch(31.86% 0.104 8.2)
XYZxyz(4.9307, 2.8438, 2.2963)
Luminance0.0284 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1328 #135B46
analogous
#5B134C #5B1328 #5B2213
triadic
#5B1328 #285B13 #13285B
tetradic
#5B1328 #4C5B13 #135B46 #22135B
square
#5B1328 #4C5B13 #135B46 #22135B
split-complementary
#5B1328 #135B22 #134C5B
monochromatic
#19050B #280812 #5B1328 #8E1E3E #C02855

Accessibility & contrast

On white

13.39
#5B1328 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#5B1328 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1328
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1328#FFFFFF#000000##FFFFFF
##5B13281.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252628
Deuteranopia (green-blind)
#383426
Tritanopia (blue-blind)
#64031C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5b1328;
/* rgb */ color: rgb(91, 19, 40);
/* oklch */ color: oklch(31.9% 0.104 8.2);
Tailwind
colors: {
  custom: {
    50: '#8e5861',
    500: '#5b1328',
    950: '#000000',
  },
}
SCSS
$custom: #5b1328;
$custom-light: #8e5861;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1328",
  "rgb": {
    "r": 91,
    "g": 19,
    "b": 40
  },
  "hsl": {
    "h": 342.5,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31864,
    "c": 0.10412,
    "h": 8.2
  },
  "luminance": 0.02843
}

Semantic roles & 50–950 ramp

primary
#5B1328
secondary
#379378
accent
#E8B73F
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0405
muted
#7E7979

Preview Lab

Preview with #5B1328

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

Preview Lab → · Contrast checker → · Palette generator →

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