#5B1041#5B1041

#5B1041 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.6% C 0.119 H 345.8°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#5B1041
RGBrgb(91, 16, 65)
HSLhsl(321, 70%, 21%)
HSVhsv(321, 82%, 36%)
CMYKcmyk(0%, 82.4%, 28.6%, 64.3%)
CIE-LABlab(19.95, 37.89, -10.98)
CIE-LCHlch(19.95, 39.45, 343.84°)
OKLaboklab(32.57% 0.1151 -0.0291)
OKLCHoklch(32.57% 0.119 345.8)
XYZxyz(5.4541, 2.9770, 5.2874)
Luminance0.0298 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1041 #105B2A
analogous
#4F105B #5B1041 #5B101B
triadic
#5B1041 #415B10 #10415B
tetradic
#5B1041 #5B4F10 #105B2A #101B5B
square
#5B1041 #5B4F10 #105B2A #101B5B
split-complementary
#5B1041 #1B5B10 #105B4F
monochromatic
#1A0513 #27071C #5B1041 #8F1966 #C3228B

Accessibility & contrast

On white

13.16
#5B1041 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B1041
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1041#FFFFFF#000000##FFFFFF
##5B10411.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b1041;
/* rgb */ color: rgb(91, 16, 65);
/* oklch */ color: oklch(32.6% 0.119 345.8);
Tailwind
colors: {
  custom: {
    50: '#8d5775',
    500: '#5b1041',
    950: '#000000',
  },
}
SCSS
$custom: #5b1041;
$custom-light: #8d5775;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1041",
  "rgb": {
    "r": 91,
    "g": 16,
    "b": 65
  },
  "hsl": {
    "h": 320.8,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32568,
    "c": 0.1187,
    "h": 345.8
  },
  "luminance": 0.02976
}

Semantic roles & 50–950 ramp

primary
#5B1041
secondary
#339454
accent
#ED793B
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0D0408
muted
#7D797B

Preview Lab

Preview with #5B1041

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

Preview Lab → · Contrast checker → · Palette generator →

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