#5D154D#5D154D

#5D154D is a dark, vivid pink. Relative luminance 0.034; OKLCH L 34.0% C 0.122 H 338.4°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#5D154D
RGBrgb(93, 21, 77)
HSLhsl(313, 63%, 22%)
HSVhsv(313, 77%, 36%)
CMYKcmyk(0%, 77.4%, 17.2%, 63.5%)
CIE-LABlab(21.58, 38.45, -16.66)
CIE-LCHlch(21.58, 41.90, 336.58°)
OKLaboklab(34.02% 0.1139 -0.0451)
OKLCHoklch(34.02% 0.122 338.4)
XYZxyz(6.1221, 3.3999, 7.3536)
Luminance0.0340 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D154D #155D25
analogous
#49155D #5D154D #5D1529
triadic
#5D154D #4D5D15 #154D5D
tetradic
#5D154D #5D4915 #155D25 #15295D
square
#5D154D #5D4915 #155D25 #15295D
split-complementary
#5D154D #295D15 #155D49
monochromatic
#190615 #2B0A24 #5D154D #8F2076 #C12CA0

Accessibility & contrast

On white

12.50
#5D154D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#5D154D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D154D
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D154D#FFFFFF#000000##FFFFFF
##5D154D1.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182D4F
Deuteranopia (green-blind)
#30384B
Tritanopia (blue-blind)
#63182F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5d154d;
/* rgb */ color: rgb(93, 21, 77);
/* oklch */ color: oklch(34.0% 0.122 338.4);
Tailwind
colors: {
  custom: {
    50: '#8e5a7f',
    500: '#5d154d',
    950: '#000000',
  },
}
SCSS
$custom: #5d154d;
$custom-light: #8e5a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#5d154d",
  "rgb": {
    "r": 93,
    "g": 21,
    "b": 77
  },
  "hsl": {
    "h": 313.333,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.34015,
    "c": 0.12248,
    "h": 338.4
  },
  "luminance": 0.03399
}

Semantic roles & 50–950 ramp

primary
#5D154D
secondary
#39944E
accent
#E66642
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0D040A
muted
#7D797C

Preview Lab

Preview with #5D154D

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

Preview Lab → · Contrast checker → · Palette generator →

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