#5B1339#5B1339

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

Color values

HEX#5B1339
RGBrgb(91, 19, 57)
HSLhsl(328, 65%, 22%)
HSVhsv(328, 79%, 36%)
CMYKcmyk(0%, 79.1%, 37.4%, 64.3%)
CIE-LABlab(19.99, 35.74, -5.36)
CIE-LCHlch(19.99, 36.14, 351.47°)
OKLaboklab(32.48% 0.1095 -0.0137)
OKLCHoklch(32.48% 0.11 352.8)
XYZxyz(5.2861, 2.9859, 4.1681)
Luminance0.0299 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1339 #135B35
analogous
#59135B #5B1339 #5B1315
triadic
#5B1339 #395B13 #13395B
tetradic
#5B1339 #5B5913 #135B35 #13155B
square
#5B1339 #5B5913 #135B35 #13155B
split-complementary
#5B1339 #155B13 #135B59
monochromatic
#190510 #280819 #5B1339 #8E1E59 #C02878

Accessibility & contrast

On white

13.15
#5B1339 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B1339
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1339#FFFFFF#000000##FFFFFF
##5B13391.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20283A
Deuteranopia (green-blind)
#343537
Tritanopia (blue-blind)
#630D24
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5b1339;
/* rgb */ color: rgb(91, 19, 57);
/* oklch */ color: oklch(32.5% 0.110 352.8);
Tailwind
colors: {
  custom: {
    50: '#8d586f',
    500: '#5b1339',
    950: '#000000',
  },
}
SCSS
$custom: #5b1339;
$custom-light: #8d586f;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1339",
  "rgb": {
    "r": 91,
    "g": 19,
    "b": 57
  },
  "hsl": {
    "h": 328.333,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.3248,
    "c": 0.11037,
    "h": 352.8
  },
  "luminance": 0.02985
}

Semantic roles & 50–950 ramp

primary
#5B1339
secondary
#379362
accent
#E88F3F
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0D0407
muted
#7D797A

Preview Lab

Preview with #5B1339

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

Preview Lab → · Contrast checker → · Palette generator →

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