#5B152B#5B152B

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

Color values

HEX#5B152B
RGBrgb(91, 21, 43)
HSLhsl(341, 63%, 22%)
HSVhsv(341, 77%, 36%)
CMYKcmyk(0%, 76.9%, 52.7%, 64.3%)
CIE-LABlab(19.78, 33.34, 4.20)
CIE-LCHlch(19.78, 33.61, 7.17°)
OKLaboklab(32.17% 0.1017 0.011)
OKLCHoklch(32.17% 0.102 6.2)
XYZxyz(5.0190, 2.9356, 2.5874)
Luminance0.0294 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B152B #155B45
analogous
#5B154E #5B152B #5B2215
triadic
#5B152B #2B5B15 #152B5B
tetradic
#5B152B #4E5B15 #155B45 #22155B
square
#5B152B #4E5B15 #155B45 #22155B
split-complementary
#5B152B #155B22 #154E5B
monochromatic
#19060C #290A14 #5B152B #8D2042 #BE2C5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B152B#FFFFFF#000000##FFFFFF
##5B152B1.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)
#25272B
Deuteranopia (green-blind)
#383529
Tritanopia (blue-blind)
#64081E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5b152b;
/* rgb */ color: rgb(91, 21, 43);
/* oklch */ color: oklch(32.2% 0.102 6.2);
Tailwind
colors: {
  custom: {
    50: '#8e5964',
    500: '#5b152b',
    950: '#000000',
  },
}
SCSS
$custom: #5b152b;
$custom-light: #8e5964;
$custom-dark: #000000;
JSON
{
  "hex": "#5b152b",
  "rgb": {
    "r": 91,
    "g": 21,
    "b": 43
  },
  "hsl": {
    "h": 341.143,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32171,
    "c": 0.10233,
    "h": 6.2
  },
  "luminance": 0.02935
}

Semantic roles & 50–950 ramp

primary
#5B152B
secondary
#399276
accent
#E6B242
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0405
muted
#7E7979

Preview Lab

Preview with #5B152B

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

Preview Lab → · Contrast checker → · Palette generator →

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