#5B142E#5B142E

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

Color values

HEX#5B142E
RGBrgb(91, 20, 46)
HSLhsl(338, 64%, 22%)
HSVhsv(338, 78%, 36%)
CMYKcmyk(0%, 78%, 49.5%, 64.3%)
CIE-LABlab(19.73, 34.06, 2.00)
CIE-LCHlch(19.73, 34.12, 3.36°)
OKLaboklab(32.16% 0.1043 0.0055)
OKLCHoklch(32.16% 0.104 3)
XYZxyz(5.0581, 2.9224, 2.8820)
Luminance0.0292 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B142E #145B41
analogous
#5B1452 #5B142E #5B1E14
triadic
#5B142E #2E5B14 #142E5B
tetradic
#5B142E #525B14 #145B41 #1E145B
square
#5B142E #525B14 #145B41 #1E145B
split-complementary
#5B142E #145B1E #14525B
monochromatic
#19060D #290915 #5B142E #8D1F47 #BF2A61

Accessibility & contrast

On white

13.25
#5B142E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B142E
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B142E#FFFFFF#000000##FFFFFF
##5B142E1.0013.251.5813.25
#FFFFFF13.251.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24272F
Deuteranopia (green-blind)
#37352C
Tritanopia (blue-blind)
#63081F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5b142e;
/* rgb */ color: rgb(91, 20, 46);
/* oklch */ color: oklch(32.2% 0.104 3.0);
Tailwind
colors: {
  custom: {
    50: '#8d5866',
    500: '#5b142e',
    950: '#000000',
  },
}
SCSS
$custom: #5b142e;
$custom-light: #8d5866;
$custom-dark: #000000;
JSON
{
  "hex": "#5b142e",
  "rgb": {
    "r": 91,
    "g": 20,
    "b": 46
  },
  "hsl": {
    "h": 338.028,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32162,
    "c": 0.10444,
    "h": 3
  },
  "luminance": 0.02922
}

Semantic roles & 50–950 ramp

primary
#5B142E
secondary
#389372
accent
#E7AA41
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0405
muted
#7E797A

Preview Lab

Preview with #5B142E

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

Preview Lab → · Contrast checker → · Palette generator →

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