#5B1644#5B1644

#5B1644 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.3% C 0.113 H 344.1°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#5B1644
RGBrgb(91, 22, 68)
HSLhsl(320, 61%, 22%)
HSVhsv(320, 76%, 36%)
CMYKcmyk(0%, 75.8%, 25.3%, 64.3%)
CIE-LABlab(20.89, 36.08, -11.61)
CIE-LCHlch(20.89, 37.90, 342.16°)
OKLaboklab(33.3% 0.1088 -0.031)
OKLCHoklch(33.3% 0.113 344.1)
XYZxyz(5.6449, 3.2159, 5.7912)
Luminance0.0321 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1644 #165B2D
analogous
#50165B #5B1644 #5B1622
triadic
#5B1644 #445B16 #16445B
tetradic
#5B1644 #5B5016 #165B2D #16225B
square
#5B1644 #5B5016 #165B2D #16225B
split-complementary
#5B1644 #225B16 #165B50
monochromatic
#190612 #2A0A1F #5B1644 #8C2269 #BE2E8E

Accessibility & contrast

On white

12.78
#5B1644 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#5B1644 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1644
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1644#FFFFFF#000000##FFFFFF
##5B16441.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2B45
Deuteranopia (green-blind)
#323642
Tritanopia (blue-blind)
#61162A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5b1644;
/* rgb */ color: rgb(91, 22, 68);
/* oklch */ color: oklch(33.3% 0.113 344.1);
Tailwind
colors: {
  custom: {
    50: '#8c5a78',
    500: '#5b1644',
    950: '#000000',
  },
}
SCSS
$custom: #5b1644;
$custom-light: #8c5a78;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1644",
  "rgb": {
    "r": 91,
    "g": 22,
    "b": 68
  },
  "hsl": {
    "h": 320,
    "s": 61.062,
    "l": 22.157
  },
  "oklch": {
    "l": 0.33295,
    "c": 0.11311,
    "h": 344.1
  },
  "luminance": 0.03215
}

Semantic roles & 50–950 ramp

primary
#5B1644
secondary
#3B9258
accent
#E47944
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0408
muted
#7D797B

Preview Lab

Preview with #5B1644

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

Preview Lab → · Contrast checker → · Palette generator →

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