#5B1341#5B1341

#5B1341 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.8% C 0.115 H 346.1°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#5B1341
RGBrgb(91, 19, 65)
HSLhsl(322, 65%, 22%)
HSVhsv(322, 79%, 36%)
CMYKcmyk(0%, 79.1%, 28.6%, 64.3%)
CIE-LABlab(20.33, 36.82, -10.40)
CIE-LCHlch(20.33, 38.26, 344.22°)
OKLaboklab(32.84% 0.1117 -0.0276)
OKLCHoklch(32.84% 0.115 346.1)
XYZxyz(5.5016, 3.0721, 5.3033)
Luminance0.0307 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1341 #135B2D
analogous
#51135B #5B1341 #5B131D
triadic
#5B1341 #415B13 #13415B
tetradic
#5B1341 #5B5113 #135B2D #131D5B
square
#5B1341 #5B5113 #135B2D #131D5B
split-complementary
#5B1341 #1D5B13 #135B51
monochromatic
#190512 #28081D #5B1341 #8E1E65 #C02889

Accessibility & contrast

On white

13.01
#5B1341 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#5B1341 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1341
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1341#FFFFFF#000000##FFFFFF
##5B13411.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2942
Deuteranopia (green-blind)
#32353F
Tritanopia (blue-blind)
#621128
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5b1341;
/* rgb */ color: rgb(91, 19, 65);
/* oklch */ color: oklch(32.8% 0.115 346.1);
Tailwind
colors: {
  custom: {
    50: '#8d5975',
    500: '#5b1341',
    950: '#000000',
  },
}
SCSS
$custom: #5b1341;
$custom-light: #8d5975;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1341",
  "rgb": {
    "r": 91,
    "g": 19,
    "b": 65
  },
  "hsl": {
    "h": 321.667,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32843,
    "c": 0.11508,
    "h": 346.1
  },
  "luminance": 0.03072
}

Semantic roles & 50–950 ramp

primary
#5B1341
secondary
#379358
accent
#E87C3F
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0408
muted
#7D797B

Preview Lab

Preview with #5B1341

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

Preview Lab → · Contrast checker → · Palette generator →

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