#5B142D#5B142D

#5B142D is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.1% C 0.104 H 3.9°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#5B142D
RGBrgb(91, 20, 45)
HSLhsl(339, 64%, 22%)
HSVhsv(339, 78%, 36%)
CMYKcmyk(0%, 78%, 50.5%, 64.3%)
CIE-LABlab(19.70, 33.95, 2.66)
CIE-LCHlch(19.70, 34.06, 4.48°)
OKLaboklab(32.13% 0.1039 0.0072)
OKLCHoklch(32.13% 0.104 3.9)
XYZxyz(5.0386, 2.9146, 2.7794)
Luminance0.0291 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B142D #145B42
analogous
#5B1451 #5B142D #5B1F14
triadic
#5B142D #2D5B14 #142D5B
tetradic
#5B142D #515B14 #145B42 #1F145B
square
#5B142D #515B14 #145B42 #1F145B
split-complementary
#5B142D #145B1F #14515B
monochromatic
#19060C #290914 #5B142D #8D1F46 #BF2A5F

Accessibility & contrast

On white

13.27
#5B142D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#5B142D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B142D
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B142D#FFFFFF#000000##FFFFFF
##5B142D1.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24272E
Deuteranopia (green-blind)
#37352B
Tritanopia (blue-blind)
#64071E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5b142d;
/* rgb */ color: rgb(91, 20, 45);
/* oklch */ color: oklch(32.1% 0.104 3.9);
Tailwind
colors: {
  custom: {
    50: '#8e5865',
    500: '#5b142d',
    950: '#000000',
  },
}
SCSS
$custom: #5b142d;
$custom-light: #8e5865;
$custom-dark: #000000;
JSON
{
  "hex": "#5b142d",
  "rgb": {
    "r": 91,
    "g": 20,
    "b": 45
  },
  "hsl": {
    "h": 338.873,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32128,
    "c": 0.10413,
    "h": 3.9
  },
  "luminance": 0.02914
}

Semantic roles & 50–950 ramp

primary
#5B142D
secondary
#389373
accent
#E7AC41
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0405
muted
#7E797A

Preview Lab

Preview with #5B142D

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

Preview Lab → · Contrast checker → · Palette generator →

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