#5B183D#5B183D

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

Color values

HEX#5B183D
RGBrgb(91, 24, 61)
HSLhsl(327, 58%, 23%)
HSVhsv(327, 74%, 36%)
CMYKcmyk(0%, 73.6%, 33%, 64.3%)
CIE-LABlab(20.88, 34.22, -6.79)
CIE-LCHlch(20.88, 34.88, 348.78°)
OKLaboklab(33.19% 0.1043 -0.0177)
OKLCHoklch(33.19% 0.106 350.4)
XYZxyz(5.4836, 3.2149, 4.7457)
Luminance0.0321 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B183D #185B36
analogous
#58185B #5B183D #5B181B
triadic
#5B183D #3D5B18 #183D5B
tetradic
#5B183D #5B5818 #185B36 #181B5B
square
#5B183D #5B5818 #185B36 #181B5B
split-complementary
#5B183D #1B5B18 #185B58
monochromatic
#180610 #2B0B1D #5B183D #8B255D #BC327E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B183D#FFFFFF#000000##FFFFFF
##5B183D1.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)
#222B3E
Deuteranopia (green-blind)
#35373B
Tritanopia (blue-blind)
#621428
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5b183d;
/* rgb */ color: rgb(91, 24, 61);
/* oklch */ color: oklch(33.2% 0.106 350.4);
Tailwind
colors: {
  custom: {
    50: '#8c5b72',
    500: '#5b183d',
    950: '#000000',
  },
}
SCSS
$custom: #5b183d;
$custom-light: #8c5b72;
$custom-dark: #000000;
JSON
{
  "hex": "#5b183d",
  "rgb": {
    "r": 91,
    "g": 24,
    "b": 61
  },
  "hsl": {
    "h": 326.866,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33192,
    "c": 0.10579,
    "h": 350.4
  },
  "luminance": 0.03214
}

Semantic roles & 50–950 ramp

primary
#5B183D
secondary
#3D9263
accent
#E18C46
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0408
muted
#7D797B

Preview Lab

Preview with #5B183D

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

Preview Lab → · Contrast checker → · Palette generator →

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