#5B152A#5B152A

#5B152A is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.1% C 0.102 H 7.1°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#5B152A
RGBrgb(91, 21, 42)
HSLhsl(342, 63%, 22%)
HSVhsv(342, 77%, 36%)
CMYKcmyk(0%, 76.9%, 53.8%, 64.3%)
CIE-LABlab(19.75, 33.24, 4.86)
CIE-LCHlch(19.75, 33.60, 8.32°)
OKLaboklab(32.14% 0.1013 0.0126)
OKLCHoklch(32.14% 0.102 7.1)
XYZxyz(5.0009, 2.9283, 2.4919)
Luminance0.0293 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B152A #155B46
analogous
#5B154D #5B152A #5B2315
triadic
#5B152A #2A5B15 #152A5B
tetradic
#5B152A #4D5B15 #155B46 #23155B
square
#5B152A #4D5B15 #155B46 #23155B
split-complementary
#5B152A #155B23 #154D5B
monochromatic
#19060B #290A13 #5B152A #8D2041 #BE2C58

Accessibility & contrast

On white

13.24
#5B152A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B152A
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B152A#FFFFFF#000000##FFFFFF
##5B152A1.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26272A
Deuteranopia (green-blind)
#383528
Tritanopia (blue-blind)
#64071E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5b152a;
/* rgb */ color: rgb(91, 21, 42);
/* oklch */ color: oklch(32.1% 0.102 7.1);
Tailwind
colors: {
  custom: {
    50: '#8e5963',
    500: '#5b152a',
    950: '#000000',
  },
}
SCSS
$custom: #5b152a;
$custom-light: #8e5963;
$custom-dark: #000000;
JSON
{
  "hex": "#5b152a",
  "rgb": {
    "r": 91,
    "g": 21,
    "b": 42
  },
  "hsl": {
    "h": 342,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32139,
    "c": 0.10211,
    "h": 7.1
  },
  "luminance": 0.02928
}

Semantic roles & 50–950 ramp

primary
#5B152A
secondary
#399278
accent
#E6B542
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0405
muted
#7E7979

Preview Lab

Preview with #5B152A

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

Preview Lab → · Contrast checker → · Palette generator →

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