#5B143B#5B143B

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

Color values

HEX#5B143B
RGBrgb(91, 20, 59)
HSLhsl(327, 64%, 22%)
HSVhsv(327, 78%, 36%)
CMYKcmyk(0%, 78%, 35.2%, 64.3%)
CIE-LABlab(20.21, 35.61, -6.42)
CIE-LCHlch(20.21, 36.18, 349.77°)
OKLaboklab(32.67% 0.1089 -0.0166)
OKLCHoklch(32.67% 0.11 351.3)
XYZxyz(5.3543, 3.0408, 4.4418)
Luminance0.0304 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B143B #145B34
analogous
#58145B #5B143B #5B1418
triadic
#5B143B #3B5B14 #143B5B
tetradic
#5B143B #5B5814 #145B34 #14185B
square
#5B143B #5B5814 #145B34 #14185B
split-complementary
#5B143B #185B14 #145B58
monochromatic
#190610 #29091A #5B143B #8D1F5C #BF2A7C

Accessibility & contrast

On white

13.06
#5B143B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B143B
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B143B#FFFFFF#000000##FFFFFF
##5B143B1.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20293C
Deuteranopia (green-blind)
#343539
Tritanopia (blue-blind)
#620F25
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5b143b;
/* rgb */ color: rgb(91, 20, 59);
/* oklch */ color: oklch(32.7% 0.110 351.3);
Tailwind
colors: {
  custom: {
    50: '#8d5970',
    500: '#5b143b',
    950: '#000000',
  },
}
SCSS
$custom: #5b143b;
$custom-light: #8d5970;
$custom-dark: #000000;
JSON
{
  "hex": "#5b143b",
  "rgb": {
    "r": 91,
    "g": 20,
    "b": 59
  },
  "hsl": {
    "h": 327.042,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32668,
    "c": 0.11016,
    "h": 351.3
  },
  "luminance": 0.0304
}

Semantic roles & 50–950 ramp

primary
#5B143B
secondary
#389361
accent
#E78C41
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0D0407
muted
#7D797A

Preview Lab

Preview with #5B143B

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

Preview Lab → · Contrast checker → · Palette generator →

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