#5B1329#5B1329

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

Color values

HEX#5B1329
RGBrgb(91, 19, 41)
HSLhsl(342, 65%, 22%)
HSVhsv(342, 79%, 36%)
CMYKcmyk(0%, 79.1%, 54.9%, 64.3%)
CIE-LABlab(19.44, 33.95, 5.12)
CIE-LCHlch(19.44, 34.34, 8.58°)
OKLaboklab(31.89% 0.1035 0.0133)
OKLCHoklch(31.89% 0.104 7.3)
XYZxyz(4.9479, 2.8507, 2.3871)
Luminance0.0285 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1329 #135B45
analogous
#5B134D #5B1329 #5B2113
triadic
#5B1329 #295B13 #13295B
tetradic
#5B1329 #4D5B13 #135B45 #21135B
square
#5B1329 #4D5B13 #135B45 #21135B
split-complementary
#5B1329 #135B21 #134D5B
monochromatic
#19050B #280812 #5B1329 #8E1E40 #C02857

Accessibility & contrast

On white

13.38
#5B1329 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B1329
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1329#FFFFFF#000000##FFFFFF
##5B13291.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252629
Deuteranopia (green-blind)
#383427
Tritanopia (blue-blind)
#64041C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5b1329;
/* rgb */ color: rgb(91, 19, 41);
/* oklch */ color: oklch(31.9% 0.104 7.3);
Tailwind
colors: {
  custom: {
    50: '#8e5862',
    500: '#5b1329',
    950: '#000000',
  },
}
SCSS
$custom: #5b1329;
$custom-light: #8e5862;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1329",
  "rgb": {
    "r": 91,
    "g": 19,
    "b": 41
  },
  "hsl": {
    "h": 341.667,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31894,
    "c": 0.10432,
    "h": 7.3
  },
  "luminance": 0.0285
}

Semantic roles & 50–950 ramp

primary
#5B1329
secondary
#379377
accent
#E8B53F
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0405
muted
#7E7979

Preview Lab

Preview with #5B1329

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

Preview Lab → · Contrast checker → · Palette generator →

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