#5B143F#5B143F

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

Color values

HEX#5B143F
RGBrgb(91, 20, 63)
HSLhsl(324, 64%, 22%)
HSVhsv(324, 78%, 36%)
CMYKcmyk(0%, 78%, 30.8%, 64.3%)
CIE-LABlab(20.38, 36.15, -8.95)
CIE-LCHlch(20.38, 37.24, 346.10°)
OKLaboklab(32.85% 0.11 -0.0235)
OKLCHoklch(32.85% 0.113 347.9)
XYZxyz(5.4620, 3.0839, 5.0093)
Luminance0.0308 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B143F #145B30
analogous
#54145B #5B143F #5B141C
triadic
#5B143F #3F5B14 #143F5B
tetradic
#5B143F #5B5414 #145B30 #141C5B
square
#5B143F #5B5414 #145B30 #141C5B
split-complementary
#5B143F #1C5B14 #145B54
monochromatic
#190611 #29091C #5B143F #8D1F62 #BF2A84

Accessibility & contrast

On white

12.99
#5B143F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#5B143F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B143F
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B143F#FFFFFF#000000##FFFFFF
##5B143F1.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b143f;
/* rgb */ color: rgb(91, 20, 63);
/* oklch */ color: oklch(32.8% 0.113 347.9);
Tailwind
colors: {
  custom: {
    50: '#8d5974',
    500: '#5b143f',
    950: '#000000',
  },
}
SCSS
$custom: #5b143f;
$custom-light: #8d5974;
$custom-dark: #000000;
JSON
{
  "hex": "#5b143f",
  "rgb": {
    "r": 91,
    "g": 20,
    "b": 63
  },
  "hsl": {
    "h": 323.662,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32848,
    "c": 0.11252,
    "h": 347.9
  },
  "luminance": 0.03083
}

Semantic roles & 50–950 ramp

primary
#5B143F
secondary
#38935C
accent
#E78241
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0408
muted
#7D797B

Preview Lab

Preview with #5B143F

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

Preview Lab → · Contrast checker → · Palette generator →

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