#5B1640#5B1640

#5B1640 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.1% C 0.110 H 347.4°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#5B1640
RGBrgb(91, 22, 64)
HSLhsl(323, 61%, 22%)
HSVhsv(323, 76%, 36%)
CMYKcmyk(0%, 75.8%, 29.7%, 64.3%)
CIE-LABlab(20.71, 35.49, -9.13)
CIE-LCHlch(20.71, 36.65, 345.57°)
OKLaboklab(33.1% 0.1078 -0.0241)
OKLCHoklch(33.1% 0.11 347.4)
XYZxyz(5.5270, 3.1687, 5.1701)
Luminance0.0317 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1640 #165B31
analogous
#54165B #5B1640 #5B161E
triadic
#5B1640 #405B16 #16405B
tetradic
#5B1640 #5B5416 #165B31 #161E5B
square
#5B1640 #5B5416 #165B31 #161E5B
split-complementary
#5B1640 #1E5B16 #165B54
monochromatic
#190611 #2A0A1D #5B1640 #8C2263 #BE2E85

Accessibility & contrast

On white

12.86
#5B1640 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#5B1640 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1640
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1640#FFFFFF#000000##FFFFFF
##5B16401.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2A41
Deuteranopia (green-blind)
#33363E
Tritanopia (blue-blind)
#621428
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5b1640;
/* rgb */ color: rgb(91, 22, 64);
/* oklch */ color: oklch(33.1% 0.110 347.4);
Tailwind
colors: {
  custom: {
    50: '#8c5a74',
    500: '#5b1640',
    950: '#000000',
  },
}
SCSS
$custom: #5b1640;
$custom-light: #8c5a74;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1640",
  "rgb": {
    "r": 91,
    "g": 22,
    "b": 64
  },
  "hsl": {
    "h": 323.478,
    "s": 61.062,
    "l": 22.157
  },
  "oklch": {
    "l": 0.33104,
    "c": 0.11046,
    "h": 347.4
  },
  "luminance": 0.03168
}

Semantic roles & 50–950 ramp

primary
#5B1640
secondary
#3B925D
accent
#E48244
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0408
muted
#7D797B

Preview Lab

Preview with #5B1640

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

Preview Lab → · Contrast checker → · Palette generator →

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