#5B1941#5B1941

#5B1941 is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.5% C 0.107 H 347.1°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#5B1941
RGBrgb(91, 25, 65)
HSLhsl(324, 57%, 23%)
HSVhsv(324, 73%, 36%)
CMYKcmyk(0%, 72.5%, 28.6%, 64.3%)
CIE-LABlab(21.21, 34.35, -9.05)
CIE-LCHlch(21.21, 35.52, 345.23°)
OKLaboklab(33.49% 0.1041 -0.0239)
OKLCHoklch(33.49% 0.107 347.1)
XYZxyz(5.6164, 3.3016, 5.3415)
Luminance0.0330 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1941 #195B33
analogous
#54195B #5B1941 #5B1920
triadic
#5B1941 #415B19 #19415B
tetradic
#5B1941 #5B5419 #195B33 #19205B
square
#5B1941 #5B5419 #195B33 #19205B
split-complementary
#5B1941 #205B19 #195B54
monochromatic
#180711 #2B0C1F #5B1941 #8B2663 #BB3386

Accessibility & contrast

On white

12.65
#5B1941 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#5B1941 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1941
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1941#FFFFFF#000000##FFFFFF
##5B19411.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212C42
Deuteranopia (green-blind)
#34373F
Tritanopia (blue-blind)
#62172A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5b1941;
/* rgb */ color: rgb(91, 25, 65);
/* oklch */ color: oklch(33.5% 0.107 347.1);
Tailwind
colors: {
  custom: {
    50: '#8c5b75',
    500: '#5b1941',
    950: '#000000',
  },
}
SCSS
$custom: #5b1941;
$custom-light: #8c5b75;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1941",
  "rgb": {
    "r": 91,
    "g": 25,
    "b": 65
  },
  "hsl": {
    "h": 323.636,
    "s": 56.897,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33489,
    "c": 0.10678,
    "h": 347.1
  },
  "luminance": 0.03301
}

Semantic roles & 50–950 ramp

primary
#5B1941
secondary
#3F915F
accent
#E08448
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0408
muted
#7D797B

Preview Lab

Preview with #5B1941

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

Preview Lab → · Contrast checker → · Palette generator →

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