#5B153B#5B153B

#5B153B is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.8% C 0.109 H 351.5°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#5B153B
RGBrgb(91, 21, 59)
HSLhsl(327, 63%, 22%)
HSVhsv(327, 77%, 36%)
CMYKcmyk(0%, 76.9%, 35.2%, 64.3%)
CIE-LABlab(20.35, 35.21, -6.21)
CIE-LCHlch(20.35, 35.75, 350.00°)
OKLaboklab(32.77% 0.1077 -0.0161)
OKLCHoklch(32.77% 0.109 351.5)
XYZxyz(5.3723, 3.0769, 4.4478)
Luminance0.0308 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B153B #155B35
analogous
#58155B #5B153B #5B1518
triadic
#5B153B #3B5B15 #153B5B
tetradic
#5B153B #5B5815 #155B35 #15185B
square
#5B153B #5B5815 #155B35 #15185B
split-complementary
#5B153B #185B15 #155B58
monochromatic
#190610 #290A1B #5B153B #8D205B #BE2C7B

Accessibility & contrast

On white

13.00
#5B153B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#5B153B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B153B
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B153B#FFFFFF#000000##FFFFFF
##5B153B1.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21293C
Deuteranopia (green-blind)
#343639
Tritanopia (blue-blind)
#621026
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5b153b;
/* rgb */ color: rgb(91, 21, 59);
/* oklch */ color: oklch(32.8% 0.109 351.5);
Tailwind
colors: {
  custom: {
    50: '#8d5970',
    500: '#5b153b',
    950: '#000000',
  },
}
SCSS
$custom: #5b153b;
$custom-light: #8d5970;
$custom-dark: #000000;
JSON
{
  "hex": "#5b153b",
  "rgb": {
    "r": 91,
    "g": 21,
    "b": 59
  },
  "hsl": {
    "h": 327.429,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32772,
    "c": 0.10884,
    "h": 351.5
  },
  "luminance": 0.03076
}

Semantic roles & 50–950 ramp

primary
#5B153B
secondary
#399262
accent
#E68D42
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0D0407
muted
#7D797A

Preview Lab

Preview with #5B153B

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

Preview Lab → · Contrast checker → · Palette generator →

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