#5B1340#5B1340

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

Color values

HEX#5B1340
RGBrgb(91, 19, 64)
HSLhsl(323, 65%, 22%)
HSVhsv(323, 79%, 36%)
CMYKcmyk(0%, 79.1%, 29.7%, 64.3%)
CIE-LABlab(20.29, 36.67, -9.78)
CIE-LCHlch(20.29, 37.96, 345.07°)
OKLaboklab(32.8% 0.1115 -0.0258)
OKLCHoklch(32.8% 0.114 347)
XYZxyz(5.4729, 3.0607, 5.1520)
Luminance0.0306 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1340 #135B2E
analogous
#52135B #5B1340 #5B131C
triadic
#5B1340 #405B13 #13405B
tetradic
#5B1340 #5B5213 #135B2E #131C5B
square
#5B1340 #5B5213 #135B2E #131C5B
split-complementary
#5B1340 #1C5B13 #135B52
monochromatic
#190512 #28081C #5B1340 #8E1E64 #C02887

Accessibility & contrast

On white

13.03
#5B1340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B1340
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1340#FFFFFF#000000##FFFFFF
##5B13401.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2941
Deuteranopia (green-blind)
#32353E
Tritanopia (blue-blind)
#621127
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5b1340;
/* rgb */ color: rgb(91, 19, 64);
/* oklch */ color: oklch(32.8% 0.114 347.0);
Tailwind
colors: {
  custom: {
    50: '#8d5974',
    500: '#5b1340',
    950: '#000000',
  },
}
SCSS
$custom: #5b1340;
$custom-light: #8d5974;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1340",
  "rgb": {
    "r": 91,
    "g": 19,
    "b": 64
  },
  "hsl": {
    "h": 322.5,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32795,
    "c": 0.11445,
    "h": 347
  },
  "luminance": 0.0306
}

Semantic roles & 50–950 ramp

primary
#5B1340
secondary
#379359
accent
#E87F3F
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0408
muted
#7D797B

Preview Lab

Preview with #5B1340

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

Preview Lab → · Contrast checker → · Palette generator →

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