#5B1A32#5B1A32

#5B1A32 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.0% C 0.098 H 1.4°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#5B1A32
RGBrgb(91, 26, 50)
HSLhsl(338, 56%, 23%)
HSVhsv(338, 71%, 36%)
CMYKcmyk(0%, 71.4%, 45.1%, 64.3%)
CIE-LABlab(20.80, 31.90, 0.75)
CIE-LCHlch(20.80, 31.91, 1.34°)
OKLaboklab(33% 0.0976 0.0023)
OKLCHoklch(33% 0.098 1.4)
XYZxyz(5.2599, 3.1939, 3.3565)
Luminance0.0319 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1A32 #1A5B43
analogous
#5B1A52 #5B1A32 #5B221A
triadic
#5B1A32 #325B1A #1A325B
tetradic
#5B1A32 #525B1A #1A5B43 #221A5B
square
#5B1A32 #525B1A #1A5B43 #221A5B
split-complementary
#5B1A32 #1A5B22 #1A525B
monochromatic
#18070D #2B0C18 #5B1A32 #8B284C #BA3566

Accessibility & contrast

On white

12.82
#5B1A32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#5B1A32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1A32
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1A32#FFFFFF#000000##FFFFFF
##5B1A321.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272A33
Deuteranopia (green-blind)
#383730
Tritanopia (blue-blind)
#631224
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5b1a32;
/* rgb */ color: rgb(91, 26, 50);
/* oklch */ color: oklch(33.0% 0.098 1.4);
Tailwind
colors: {
  custom: {
    50: '#8d5b69',
    500: '#5b1a32',
    950: '#000000',
  },
}
SCSS
$custom: #5b1a32;
$custom-light: #8d5b69;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1a32",
  "rgb": {
    "r": 91,
    "g": 26,
    "b": 50
  },
  "hsl": {
    "h": 337.846,
    "s": 55.556,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32998,
    "c": 0.09761,
    "h": 1.4
  },
  "luminance": 0.03193
}

Semantic roles & 50–950 ramp

primary
#5B1A32
secondary
#409173
accent
#DFA849
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0D0406
muted
#7D797A

Preview Lab

Preview with #5B1A32

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

Preview Lab → · Contrast checker → · Palette generator →

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