#5B1345#5B1345

#5B1345 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 33.0% C 0.118 H 343.0°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#5B1345
RGBrgb(91, 19, 69)
HSLhsl(318, 65%, 22%)
HSVhsv(318, 79%, 36%)
CMYKcmyk(0%, 79.1%, 24.2%, 64.3%)
CIE-LABlab(20.52, 37.40, -12.87)
CIE-LCHlch(20.52, 39.55, 341.01°)
OKLaboklab(33.04% 0.1126 -0.0345)
OKLCHoklch(33.04% 0.118 343)
XYZxyz(5.6216, 3.1201, 5.9353)
Luminance0.0312 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1345 #135B29
analogous
#4D135B #5B1345 #5B1321
triadic
#5B1345 #455B13 #13455B
tetradic
#5B1345 #5B4D13 #135B29 #13215B
square
#5B1345 #5B4D13 #135B29 #13215B
split-complementary
#5B1345 #215B13 #135B4D
monochromatic
#190513 #28081F #5B1345 #8E1E6B #C02892

Accessibility & contrast

On white

12.93
#5B1345 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B1345
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1345#FFFFFF#000000##FFFFFF
##5B13451.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2A46
Deuteranopia (green-blind)
#313643
Tritanopia (blue-blind)
#61132A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5b1345;
/* rgb */ color: rgb(91, 19, 69);
/* oklch */ color: oklch(33.0% 0.118 343.0);
Tailwind
colors: {
  custom: {
    50: '#8c5978',
    500: '#5b1345',
    950: '#000000',
  },
}
SCSS
$custom: #5b1345;
$custom-light: #8c5978;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1345",
  "rgb": {
    "r": 91,
    "g": 19,
    "b": 69
  },
  "hsl": {
    "h": 318.333,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33042,
    "c": 0.11776,
    "h": 343
  },
  "luminance": 0.0312
}

Semantic roles & 50–950 ramp

primary
#5B1345
secondary
#379353
accent
#E8733F
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0409
muted
#7D797B

Preview Lab

Preview with #5B1345

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

Preview Lab → · Contrast checker → · Palette generator →

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