#5B152E#5B152E

#5B152E is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.3% C 0.103 H 3.4°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#5B152E
RGBrgb(91, 21, 46)
HSLhsl(339, 63%, 22%)
HSVhsv(339, 77%, 36%)
CMYKcmyk(0%, 76.9%, 49.5%, 64.3%)
CIE-LABlab(19.88, 33.65, 2.21)
CIE-LCHlch(19.88, 33.73, 3.76°)
OKLaboklab(32.27% 0.103 0.006)
OKLCHoklch(32.27% 0.103 3.4)
XYZxyz(5.0761, 2.9584, 2.8880)
Luminance0.0296 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B152E #155B42
analogous
#5B1551 #5B152E #5B1F15
triadic
#5B152E #2E5B15 #152E5B
tetradic
#5B152E #515B15 #155B42 #1F155B
square
#5B152E #515B15 #155B42 #1F155B
split-complementary
#5B152E #155B1F #15515B
monochromatic
#19060D #290A15 #5B152E #8D2047 #BE2C60

Accessibility & contrast

On white

13.19
#5B152E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B152E
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B152E#FFFFFF#000000##FFFFFF
##5B152E1.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25272F
Deuteranopia (green-blind)
#37352C
Tritanopia (blue-blind)
#63091F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5b152e;
/* rgb */ color: rgb(91, 21, 46);
/* oklch */ color: oklch(32.3% 0.103 3.4);
Tailwind
colors: {
  custom: {
    50: '#8d5966',
    500: '#5b152e',
    950: '#000000',
  },
}
SCSS
$custom: #5b152e;
$custom-light: #8d5966;
$custom-dark: #000000;
JSON
{
  "hex": "#5b152e",
  "rgb": {
    "r": 91,
    "g": 21,
    "b": 46
  },
  "hsl": {
    "h": 338.571,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32269,
    "c": 0.10316,
    "h": 3.4
  },
  "luminance": 0.02958
}

Semantic roles & 50–950 ramp

primary
#5B152E
secondary
#399273
accent
#E6AB42
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0405
muted
#7E797A

Preview Lab

Preview with #5B152E

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

Preview Lab → · Contrast checker → · Palette generator →

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