#5B183E#5B183E

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

Color values

HEX#5B183E
RGBrgb(91, 24, 62)
HSLhsl(326, 58%, 23%)
HSVhsv(326, 74%, 36%)
CMYKcmyk(0%, 73.6%, 31.9%, 64.3%)
CIE-LABlab(20.93, 34.36, -7.42)
CIE-LCHlch(20.93, 35.15, 347.81°)
OKLaboklab(33.24% 0.1046 -0.0194)
OKLCHoklch(33.24% 0.106 349.5)
XYZxyz(5.5108, 3.2258, 4.8889)
Luminance0.0323 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B183E #185B35
analogous
#56185B #5B183E #5B181D
triadic
#5B183E #3E5B18 #183E5B
tetradic
#5B183E #5B5618 #185B35 #181D5B
square
#5B183E #5B5618 #185B35 #181D5B
split-complementary
#5B183E #1D5B18 #185B56
monochromatic
#180610 #2B0B1D #5B183E #8B255F #BC3280

Accessibility & contrast

On white

12.77
#5B183E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5B183E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B183E
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B183E#FFFFFF#000000##FFFFFF
##5B183E1.0012.771.6512.77
#FFFFFF12.771.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222B3F
Deuteranopia (green-blind)
#35373C
Tritanopia (blue-blind)
#621528
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5b183e;
/* rgb */ color: rgb(91, 24, 62);
/* oklch */ color: oklch(33.2% 0.106 349.5);
Tailwind
colors: {
  custom: {
    50: '#8c5b73',
    500: '#5b183e',
    950: '#000000',
  },
}
SCSS
$custom: #5b183e;
$custom-light: #8c5b73;
$custom-dark: #000000;
JSON
{
  "hex": "#5b183e",
  "rgb": {
    "r": 91,
    "g": 24,
    "b": 62
  },
  "hsl": {
    "h": 325.97,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33236,
    "c": 0.10638,
    "h": 349.5
  },
  "luminance": 0.03225
}

Semantic roles & 50–950 ramp

primary
#5B183E
secondary
#3D9262
accent
#E18946
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0408
muted
#7D797B

Preview Lab

Preview with #5B183E

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

Preview Lab → · Contrast checker → · Palette generator →

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