#5B142B#5B142B

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

Color values

HEX#5B142B
RGBrgb(91, 20, 43)
HSLhsl(341, 64%, 22%)
HSVhsv(341, 78%, 36%)
CMYKcmyk(0%, 78%, 52.7%, 64.3%)
CIE-LABlab(19.64, 33.75, 3.99)
CIE-LCHlch(19.64, 33.99, 6.74°)
OKLaboklab(32.06% 0.1031 0.0105)
OKLCHoklch(32.06% 0.104 5.8)
XYZxyz(5.0010, 2.8995, 2.5814)
Luminance0.0290 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B142B #145B44
analogous
#5B144F #5B142B #5B2014
triadic
#5B142B #2B5B14 #142B5B
tetradic
#5B142B #4F5B14 #145B44 #20145B
square
#5B142B #4F5B14 #145B44 #20145B
split-complementary
#5B142B #145B20 #144F5B
monochromatic
#19060C #290913 #5B142B #8D1F43 #BF2A5A

Accessibility & contrast

On white

13.29
#5B142B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B142B
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B142B#FFFFFF#000000##FFFFFF
##5B142B1.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25272C
Deuteranopia (green-blind)
#383529
Tritanopia (blue-blind)
#64061E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5b142b;
/* rgb */ color: rgb(91, 20, 43);
/* oklch */ color: oklch(32.1% 0.104 5.8);
Tailwind
colors: {
  custom: {
    50: '#8e5864',
    500: '#5b142b',
    950: '#000000',
  },
}
SCSS
$custom: #5b142b;
$custom-light: #8e5864;
$custom-dark: #000000;
JSON
{
  "hex": "#5b142b",
  "rgb": {
    "r": 91,
    "g": 20,
    "b": 43
  },
  "hsl": {
    "h": 340.563,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32062,
    "c": 0.10358,
    "h": 5.8
  },
  "luminance": 0.02899
}

Semantic roles & 50–950 ramp

primary
#5B142B
secondary
#389375
accent
#E7B141
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0405
muted
#7E7979

Preview Lab

Preview with #5B142B

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

Preview Lab → · Contrast checker → · Palette generator →

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