#5B143E#5B143E

#5B143E is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.8% C 0.112 H 348.8°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#5B143E
RGBrgb(91, 20, 62)
HSLhsl(325, 64%, 22%)
HSVhsv(325, 78%, 36%)
CMYKcmyk(0%, 78%, 31.9%, 64.3%)
CIE-LABlab(20.33, 36.01, -8.32)
CIE-LCHlch(20.33, 36.96, 346.99°)
OKLaboklab(32.8% 0.1098 -0.0218)
OKLCHoklch(32.8% 0.112 348.8)
XYZxyz(5.4343, 3.0729, 4.8634)
Luminance0.0307 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B143E #145B31
analogous
#55145B #5B143E #5B141B
triadic
#5B143E #3E5B14 #143E5B
tetradic
#5B143E #5B5514 #145B31 #141B5B
square
#5B143E #5B5514 #145B31 #141B5B
split-complementary
#5B143E #1B5B14 #145B55
monochromatic
#190611 #29091C #5B143E #8D1F60 #BF2A82

Accessibility & contrast

On white

13.01
#5B143E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B143E
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B143E#FFFFFF#000000##FFFFFF
##5B143E1.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F293F
Deuteranopia (green-blind)
#33363C
Tritanopia (blue-blind)
#621127
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5b143e;
/* rgb */ color: rgb(91, 20, 62);
/* oklch */ color: oklch(32.8% 0.112 348.8);
Tailwind
colors: {
  custom: {
    50: '#8d5973',
    500: '#5b143e',
    950: '#000000',
  },
}
SCSS
$custom: #5b143e;
$custom-light: #8d5973;
$custom-dark: #000000;
JSON
{
  "hex": "#5b143e",
  "rgb": {
    "r": 91,
    "g": 20,
    "b": 62
  },
  "hsl": {
    "h": 324.507,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32802,
    "c": 0.11192,
    "h": 348.8
  },
  "luminance": 0.03072
}

Semantic roles & 50–950 ramp

primary
#5B143E
secondary
#38935D
accent
#E78541
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0408
muted
#7D797B

Preview Lab

Preview with #5B143E

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

Preview Lab → · Contrast checker → · Palette generator →

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