#5B183B#5B183B

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

Color values

HEX#5B183B
RGBrgb(91, 24, 59)
HSLhsl(329, 58%, 23%)
HSVhsv(329, 74%, 36%)
CMYKcmyk(0%, 73.6%, 35.2%, 64.3%)
CIE-LABlab(20.80, 33.94, -5.53)
CIE-LCHlch(20.80, 34.39, 350.75°)
OKLaboklab(33.11% 0.1037 -0.0142)
OKLCHoklch(33.11% 0.105 352.2)
XYZxyz(5.4307, 3.1938, 4.4673)
Luminance0.0319 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B183B #185B38
analogous
#5A185B #5B183B #5B1819
triadic
#5B183B #3B5B18 #183B5B
tetradic
#5B183B #5B5A18 #185B38 #18195B
square
#5B183B #5B5A18 #185B38 #18195B
split-complementary
#5B183B #195B18 #185B5A
monochromatic
#180610 #2B0B1C #5B183B #8B255A #BC327A

Accessibility & contrast

On white

12.82
#5B183B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B183B
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B183B#FFFFFF#000000##FFFFFF
##5B183B1.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232A3C
Deuteranopia (green-blind)
#363639
Tritanopia (blue-blind)
#621427
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5b183b;
/* rgb */ color: rgb(91, 24, 59);
/* oklch */ color: oklch(33.1% 0.105 352.2);
Tailwind
colors: {
  custom: {
    50: '#8d5b70',
    500: '#5b183b',
    950: '#000000',
  },
}
SCSS
$custom: #5b183b;
$custom-light: #8d5b70;
$custom-dark: #000000;
JSON
{
  "hex": "#5b183b",
  "rgb": {
    "r": 91,
    "g": 24,
    "b": 59
  },
  "hsl": {
    "h": 328.657,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33106,
    "c": 0.10465,
    "h": 352.2
  },
  "luminance": 0.03193
}

Semantic roles & 50–950 ramp

primary
#5B183B
secondary
#3D9266
accent
#E19046
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0407
muted
#7D797A

Preview Lab

Preview with #5B183B

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

Preview Lab → · Contrast checker → · Palette generator →

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