#5B142A#5B142A

#5B142A is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.0% C 0.103 H 6.7°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#5B142A
RGBrgb(91, 20, 42)
HSLhsl(341, 64%, 22%)
HSVhsv(341, 78%, 36%)
CMYKcmyk(0%, 78%, 53.8%, 64.3%)
CIE-LABlab(19.61, 33.65, 4.65)
CIE-LCHlch(19.61, 33.97, 7.87°)
OKLaboklab(32.03% 0.1026 0.0121)
OKLCHoklch(32.03% 0.103 6.7)
XYZxyz(4.9829, 2.8923, 2.4859)
Luminance0.0289 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B142A #145B45
analogous
#5B144E #5B142A #5B2114
triadic
#5B142A #2A5B14 #142A5B
tetradic
#5B142A #4E5B14 #145B45 #21145B
square
#5B142A #4E5B14 #145B45 #21145B
split-complementary
#5B142A #145B21 #144E5B
monochromatic
#19060C #290913 #5B142A #8D1F41 #BF2A58

Accessibility & contrast

On white

13.30
#5B142A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B142A
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B142A#FFFFFF#000000##FFFFFF
##5B142A1.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25262A
Deuteranopia (green-blind)
#383528
Tritanopia (blue-blind)
#64061D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5b142a;
/* rgb */ color: rgb(91, 20, 42);
/* oklch */ color: oklch(32.0% 0.103 6.7);
Tailwind
colors: {
  custom: {
    50: '#8e5863',
    500: '#5b142a',
    950: '#000000',
  },
}
SCSS
$custom: #5b142a;
$custom-light: #8e5863;
$custom-dark: #000000;
JSON
{
  "hex": "#5b142a",
  "rgb": {
    "r": 91,
    "g": 20,
    "b": 42
  },
  "hsl": {
    "h": 341.408,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.3203,
    "c": 0.10334,
    "h": 6.7
  },
  "luminance": 0.02892
}

Semantic roles & 50–950 ramp

primary
#5B142A
secondary
#389377
accent
#E7B341
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0405
muted
#7E7979

Preview Lab

Preview with #5B142A

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

Preview Lab → · Contrast checker → · Palette generator →

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