#5B143A#5B143A

#5B143A is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.6% C 0.110 H 352.2°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#5B143A
RGBrgb(91, 20, 58)
HSLhsl(328, 64%, 22%)
HSVhsv(328, 78%, 36%)
CMYKcmyk(0%, 78%, 36.3%, 64.3%)
CIE-LABlab(20.17, 35.48, -5.79)
CIE-LCHlch(20.17, 35.95, 350.73°)
OKLaboklab(32.62% 0.1086 -0.0149)
OKLCHoklch(32.62% 0.11 352.2)
XYZxyz(5.3286, 3.0306, 4.3065)
Luminance0.0303 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B143A #145B35
analogous
#59145B #5B143A #5B1417
triadic
#5B143A #3A5B14 #143A5B
tetradic
#5B143A #5B5914 #145B35 #14175B
square
#5B143A #5B5914 #145B35 #14175B
split-complementary
#5B143A #175B14 #145B59
monochromatic
#190610 #29091A #5B143A #8D1F5A #BF2A7A

Accessibility & contrast

On white

13.08
#5B143A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#5B143A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B143A
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B143A#FFFFFF#000000##FFFFFF
##5B143A1.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20283B
Deuteranopia (green-blind)
#343538
Tritanopia (blue-blind)
#620E25
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5b143a;
/* rgb */ color: rgb(91, 20, 58);
/* oklch */ color: oklch(32.6% 0.110 352.2);
Tailwind
colors: {
  custom: {
    50: '#8d5970',
    500: '#5b143a',
    950: '#000000',
  },
}
SCSS
$custom: #5b143a;
$custom-light: #8d5970;
$custom-dark: #000000;
JSON
{
  "hex": "#5b143a",
  "rgb": {
    "r": 91,
    "g": 20,
    "b": 58
  },
  "hsl": {
    "h": 327.887,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32624,
    "c": 0.10962,
    "h": 352.2
  },
  "luminance": 0.0303
}

Semantic roles & 50–950 ramp

primary
#5B143A
secondary
#389362
accent
#E78E41
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0D0407
muted
#7D797A

Preview Lab

Preview with #5B143A

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

Preview Lab → · Contrast checker → · Palette generator →

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