#5B142C#5B142C

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

Color values

HEX#5B142C
RGBrgb(91, 20, 44)
HSLhsl(340, 64%, 22%)
HSVhsv(340, 78%, 36%)
CMYKcmyk(0%, 78%, 51.6%, 64.3%)
CIE-LABlab(19.67, 33.85, 3.32)
CIE-LCHlch(19.67, 34.02, 5.61°)
OKLaboklab(32.1% 0.1035 0.0088)
OKLCHoklch(32.1% 0.104 4.9)
XYZxyz(5.0196, 2.9070, 2.6792)
Luminance0.0291 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B142C #145B43
analogous
#5B1450 #5B142C #5B2014
triadic
#5B142C #2C5B14 #142C5B
tetradic
#5B142C #505B14 #145B43 #20145B
square
#5B142C #505B14 #145B43 #20145B
split-complementary
#5B142C #145B20 #14505B
monochromatic
#19060C #290914 #5B142C #8D1F44 #BF2A5D

Accessibility & contrast

On white

13.28
#5B142C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B142C
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B142C#FFFFFF#000000##FFFFFF
##5B142C1.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25272D
Deuteranopia (green-blind)
#37352A
Tritanopia (blue-blind)
#64071E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5b142c;
/* rgb */ color: rgb(91, 20, 44);
/* oklch */ color: oklch(32.1% 0.104 4.9);
Tailwind
colors: {
  custom: {
    50: '#8e5864',
    500: '#5b142c',
    950: '#000000',
  },
}
SCSS
$custom: #5b142c;
$custom-light: #8e5864;
$custom-dark: #000000;
JSON
{
  "hex": "#5b142c",
  "rgb": {
    "r": 91,
    "g": 20,
    "b": 44
  },
  "hsl": {
    "h": 339.718,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32095,
    "c": 0.10385,
    "h": 4.9
  },
  "luminance": 0.02906
}

Semantic roles & 50–950 ramp

primary
#5B142C
secondary
#389374
accent
#E7AF41
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0405
muted
#7E797A

Preview Lab

Preview with #5B142C

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

Preview Lab → · Contrast checker → · Palette generator →

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