#5B1334#5B1334

#5B1334 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.3% C 0.108 H 357.3°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#5B1334
RGBrgb(91, 19, 52)
HSLhsl(333, 65%, 22%)
HSVhsv(333, 79%, 36%)
CMYKcmyk(0%, 79.1%, 42.9%, 64.3%)
CIE-LABlab(19.80, 35.12, -2.13)
CIE-LCHlch(19.80, 35.19, 356.52°)
OKLaboklab(32.28% 0.1078 -0.0052)
OKLCHoklch(32.28% 0.108 357.3)
XYZxyz(5.1674, 2.9385, 3.5432)
Luminance0.0294 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1334 #135B3A
analogous
#5B1358 #5B1334 #5B1613
triadic
#5B1334 #345B13 #13345B
tetradic
#5B1334 #585B13 #135B3A #16135B
square
#5B1334 #585B13 #135B3A #16135B
split-complementary
#5B1334 #135B16 #13585B
monochromatic
#19050E #280817 #5B1334 #8E1E51 #C0286E

Accessibility & contrast

On white

13.23
#5B1334 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#5B1334 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1334
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1334#FFFFFF#000000##FFFFFF
##5B13341.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222735
Deuteranopia (green-blind)
#353532
Tritanopia (blue-blind)
#630A21
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5b1334;
/* rgb */ color: rgb(91, 19, 52);
/* oklch */ color: oklch(32.3% 0.108 357.3);
Tailwind
colors: {
  custom: {
    50: '#8d586b',
    500: '#5b1334',
    950: '#000000',
  },
}
SCSS
$custom: #5b1334;
$custom-light: #8d586b;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1334",
  "rgb": {
    "r": 91,
    "g": 19,
    "b": 52
  },
  "hsl": {
    "h": 332.5,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32277,
    "c": 0.10795,
    "h": 357.3
  },
  "luminance": 0.02938
}

Semantic roles & 50–950 ramp

primary
#5B1334
secondary
#379369
accent
#E89B3F
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5B1334

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

Preview Lab → · Contrast checker → · Palette generator →

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