#5B1638#5B1638

#5B1638 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.8% C 0.106 H 354.4°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#5B1638
RGBrgb(91, 22, 56)
HSLhsl(330, 61%, 22%)
HSVhsv(330, 76%, 36%)
CMYKcmyk(0%, 75.8%, 38.5%, 64.3%)
CIE-LABlab(20.38, 34.41, -4.07)
CIE-LCHlch(20.38, 34.65, 353.25°)
OKLaboklab(32.75% 0.1054 -0.0103)
OKLCHoklch(32.75% 0.106 354.4)
XYZxyz(5.3154, 3.0841, 4.0560)
Luminance0.0308 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1638 #165B39
analogous
#5B165B #5B1638 #5B1716
triadic
#5B1638 #385B16 #16385B
tetradic
#5B1638 #5B5B16 #165B39 #17165B
square
#5B1638 #5B5B16 #165B39 #17165B
split-complementary
#5B1638 #165B17 #165B5B
monochromatic
#19060F #2A0A1A #5B1638 #8C2256 #BE2E75

Accessibility & contrast

On white

12.99
#5B1638 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#5B1638 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1638
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1638#FFFFFF#000000##FFFFFF
##5B16381.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222939
Deuteranopia (green-blind)
#363636
Tritanopia (blue-blind)
#631024
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5b1638;
/* rgb */ color: rgb(91, 22, 56);
/* oklch */ color: oklch(32.8% 0.106 354.4);
Tailwind
colors: {
  custom: {
    50: '#8d5a6e',
    500: '#5b1638',
    950: '#000000',
  },
}
SCSS
$custom: #5b1638;
$custom-light: #8d5a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1638",
  "rgb": {
    "r": 91,
    "g": 22,
    "b": 56
  },
  "hsl": {
    "h": 330.435,
    "s": 61.062,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32754,
    "c": 0.1059,
    "h": 354.4
  },
  "luminance": 0.03083
}

Semantic roles & 50–950 ramp

primary
#5B1638
secondary
#3B9267
accent
#E49544
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0D0407
muted
#7D797A

Preview Lab

Preview with #5B1638

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

Preview Lab → · Contrast checker → · Palette generator →

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