#5B1144#5B1144

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

Color values

HEX#5B1144
RGBrgb(91, 17, 68)
HSLhsl(319, 69%, 21%)
HSVhsv(319, 81%, 36%)
CMYKcmyk(0%, 81.3%, 25.3%, 64.3%)
CIE-LABlab(20.22, 37.98, -12.65)
CIE-LCHlch(20.22, 40.03, 341.58°)
OKLaboklab(32.81% 0.1146 -0.0338)
OKLCHoklch(32.81% 0.12 343.6)
XYZxyz(5.5584, 3.0430, 5.7623)
Luminance0.0304 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1144 #115B28
analogous
#4D115B #5B1144 #5B111F
triadic
#5B1144 #445B11 #11445B
tetradic
#5B1144 #5B4D11 #115B28 #111F5B
square
#5B1144 #5B4D11 #115B28 #111F5B
split-complementary
#5B1144 #1F5B11 #115B4D
monochromatic
#1A0513 #27071D #5B1144 #8F1B6B #C22491

Accessibility & contrast

On white

13.06
#5B1144 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B1144
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1144#FFFFFF#000000##FFFFFF
##5B11441.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192945
Deuteranopia (green-blind)
#303542
Tritanopia (blue-blind)
#611129
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5b1144;
/* rgb */ color: rgb(91, 17, 68);
/* oklch */ color: oklch(32.8% 0.120 343.6);
Tailwind
colors: {
  custom: {
    50: '#8d5878',
    500: '#5b1144',
    950: '#000000',
  },
}
SCSS
$custom: #5b1144;
$custom-light: #8d5878;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1144",
  "rgb": {
    "r": 91,
    "g": 17,
    "b": 68
  },
  "hsl": {
    "h": 318.649,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32806,
    "c": 0.11952,
    "h": 343.6
  },
  "luminance": 0.03042
}

Semantic roles & 50–950 ramp

primary
#5B1144
secondary
#349452
accent
#EB733C
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0408
muted
#7D797B

Preview Lab

Preview with #5B1144

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

Preview Lab → · Contrast checker → · Palette generator →

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