#5B1143#5B1143

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

Color values

HEX#5B1143
RGBrgb(91, 17, 67)
HSLhsl(319, 69%, 21%)
HSVhsv(319, 81%, 36%)
CMYKcmyk(0%, 81.3%, 26.4%, 64.3%)
CIE-LABlab(20.17, 37.83, -12.03)
CIE-LCHlch(20.17, 39.70, 342.36°)
OKLaboklab(32.76% 0.1144 -0.0321)
OKLCHoklch(32.76% 0.119 344.3)
XYZxyz(5.5282, 3.0309, 5.6030)
Luminance0.0303 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1143 #115B29
analogous
#4E115B #5B1143 #5B111E
triadic
#5B1143 #435B11 #11435B
tetradic
#5B1143 #5B4E11 #115B29 #111E5B
square
#5B1143 #5B4E11 #115B29 #111E5B
split-complementary
#5B1143 #1E5B11 #115B4E
monochromatic
#1A0513 #27071D #5B1143 #8F1B69 #C2248F

Accessibility & contrast

On white

13.08
#5B1143 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B1143
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1143#FFFFFF#000000##FFFFFF
##5B11431.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2944
Deuteranopia (green-blind)
#313541
Tritanopia (blue-blind)
#621028
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5b1143;
/* rgb */ color: rgb(91, 17, 67);
/* oklch */ color: oklch(32.8% 0.119 344.3);
Tailwind
colors: {
  custom: {
    50: '#8d5877',
    500: '#5b1143',
    950: '#000000',
  },
}
SCSS
$custom: #5b1143;
$custom-light: #8d5877;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1143",
  "rgb": {
    "r": 91,
    "g": 17,
    "b": 67
  },
  "hsl": {
    "h": 319.459,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32755,
    "c": 0.11885,
    "h": 344.3
  },
  "luminance": 0.0303
}

Semantic roles & 50–950 ramp

primary
#5B1143
secondary
#349453
accent
#EB753C
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0408
muted
#7D797B

Preview Lab

Preview with #5B1143

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

Preview Lab → · Contrast checker → · Palette generator →

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