#5B1141#5B1141

#5B1141 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.7% C 0.118 H 345.9°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#5B1141
RGBrgb(91, 17, 65)
HSLhsl(321, 69%, 21%)
HSVhsv(321, 81%, 36%)
CMYKcmyk(0%, 81.3%, 28.6%, 64.3%)
CIE-LABlab(20.07, 37.55, -10.79)
CIE-LCHlch(20.07, 39.07, 343.96°)
OKLaboklab(32.66% 0.114 -0.0286)
OKLCHoklch(32.66% 0.118 345.9)
XYZxyz(5.4692, 3.0073, 5.2924)
Luminance0.0301 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1141 #115B2B
analogous
#50115B #5B1141 #5B111C
triadic
#5B1141 #415B11 #11415B
tetradic
#5B1141 #5B5011 #115B2B #111C5B
square
#5B1141 #5B5011 #115B2B #111C5B
split-complementary
#5B1141 #1C5B11 #115B50
monochromatic
#1A0512 #27071C #5B1141 #8F1B66 #C2248B

Accessibility & contrast

On white

13.11
#5B1141 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B1141
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1141#FFFFFF#000000##FFFFFF
##5B11411.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2842
Deuteranopia (green-blind)
#31353F
Tritanopia (blue-blind)
#620F27
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5b1141;
/* rgb */ color: rgb(91, 17, 65);
/* oklch */ color: oklch(32.7% 0.118 345.9);
Tailwind
colors: {
  custom: {
    50: '#8d5875',
    500: '#5b1141',
    950: '#000000',
  },
}
SCSS
$custom: #5b1141;
$custom-light: #8d5875;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1141",
  "rgb": {
    "r": 91,
    "g": 17,
    "b": 65
  },
  "hsl": {
    "h": 321.081,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32656,
    "c": 0.11753,
    "h": 345.9
  },
  "luminance": 0.03007
}

Semantic roles & 50–950 ramp

primary
#5B1141
secondary
#349456
accent
#EB7A3C
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0D0408
muted
#7D797B

Preview Lab

Preview with #5B1141

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

Preview Lab → · Contrast checker → · Palette generator →

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