#5B1841#5B1841

#5B1841 is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.4% C 0.108 H 346.9°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#5B1841
RGBrgb(91, 24, 65)
HSLhsl(323, 58%, 23%)
HSVhsv(323, 74%, 36%)
CMYKcmyk(0%, 73.6%, 28.6%, 64.3%)
CIE-LABlab(21.06, 34.79, -9.29)
CIE-LCHlch(21.06, 36.01, 345.04°)
OKLaboklab(33.37% 0.1054 -0.0245)
OKLCHoklch(33.37% 0.108 346.9)
XYZxyz(5.5954, 3.2597, 5.3345)
Luminance0.0326 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1841 #185B32
analogous
#54185B #5B1841 #5B181F
triadic
#5B1841 #415B18 #18415B
tetradic
#5B1841 #5B5418 #185B32 #181F5B
square
#5B1841 #5B5418 #185B32 #181F5B
split-complementary
#5B1841 #1F5B18 #185B54
monochromatic
#180611 #2B0B1E #5B1841 #8B2564 #BC3286

Accessibility & contrast

On white

12.71
#5B1841 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5B1841 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1841
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1841#FFFFFF#000000##FFFFFF
##5B18411.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202B42
Deuteranopia (green-blind)
#34373F
Tritanopia (blue-blind)
#62162A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5b1841;
/* rgb */ color: rgb(91, 24, 65);
/* oklch */ color: oklch(33.4% 0.108 346.9);
Tailwind
colors: {
  custom: {
    50: '#8c5b75',
    500: '#5b1841',
    950: '#000000',
  },
}
SCSS
$custom: #5b1841;
$custom-light: #8c5b75;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1841",
  "rgb": {
    "r": 91,
    "g": 24,
    "b": 65
  },
  "hsl": {
    "h": 323.284,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33373,
    "c": 0.10826,
    "h": 346.9
  },
  "luminance": 0.03259
}

Semantic roles & 50–950 ramp

primary
#5B1841
secondary
#3D925E
accent
#E18346
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0408
muted
#7D797B

Preview Lab

Preview with #5B1841

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

Preview Lab → · Contrast checker → · Palette generator →

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