#5B183A#5B183A

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

Color values

HEX#5B183A
RGBrgb(91, 24, 58)
HSLhsl(330, 58%, 23%)
HSVhsv(330, 74%, 36%)
CMYKcmyk(0%, 73.6%, 36.3%, 64.3%)
CIE-LABlab(20.76, 33.81, -4.89)
CIE-LCHlch(20.76, 34.16, 351.77°)
OKLaboklab(33.06% 0.1034 -0.0125)
OKLCHoklch(33.06% 0.104 353.1)
XYZxyz(5.4050, 3.1835, 4.3320)
Luminance0.0318 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B183A #185B39
analogous
#5A185B #5B183A #5B1819
triadic
#5B183A #3A5B18 #183A5B
tetradic
#5B183A #5B5A18 #185B39 #18195B
square
#5B183A #5B5A18 #185B39 #18195B
split-complementary
#5B183A #195B18 #185B5A
monochromatic
#18060F #2B0B1B #5B183A #8B2559 #BC3278

Accessibility & contrast

On white

12.83
#5B183A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B183A
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B183A#FFFFFF#000000##FFFFFF
##5B183A1.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232A3B
Deuteranopia (green-blind)
#363638
Tritanopia (blue-blind)
#621326
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5b183a;
/* rgb */ color: rgb(91, 24, 58);
/* oklch */ color: oklch(33.1% 0.104 353.1);
Tailwind
colors: {
  custom: {
    50: '#8d5b70',
    500: '#5b183a',
    950: '#000000',
  },
}
SCSS
$custom: #5b183a;
$custom-light: #8d5b70;
$custom-dark: #000000;
JSON
{
  "hex": "#5b183a",
  "rgb": {
    "r": 91,
    "g": 24,
    "b": 58
  },
  "hsl": {
    "h": 329.552,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33064,
    "c": 0.10411,
    "h": 353.1
  },
  "luminance": 0.03183
}

Semantic roles & 50–950 ramp

primary
#5B183A
secondary
#3D9267
accent
#E19346
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0407
muted
#7D797A

Preview Lab

Preview with #5B183A

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

Preview Lab → · Contrast checker → · Palette generator →

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