#5D154C#5D154C

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

Color values

HEX#5D154C
RGBrgb(93, 21, 76)
HSLhsl(314, 63%, 22%)
HSVhsv(314, 77%, 36%)
CMYKcmyk(0%, 77.4%, 18.3%, 63.5%)
CIE-LABlab(21.53, 38.29, -16.06)
CIE-LCHlch(21.53, 41.52, 337.25°)
OKLaboklab(33.96% 0.1137 -0.0434)
OKLCHoklch(33.96% 0.122 339.1)
XYZxyz(6.0870, 3.3859, 7.1690)
Luminance0.0338 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D154C #155D26
analogous
#4A155D #5D154C #5D1528
triadic
#5D154C #4C5D15 #154C5D
tetradic
#5D154C #5D4A15 #155D26 #15285D
square
#5D154C #5D4A15 #155D26 #15285D
split-complementary
#5D154C #285D15 #155D4A
monochromatic
#190614 #2B0A23 #5D154C #8F2075 #C12C9E

Accessibility & contrast

On white

12.52
#5D154C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D154C
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D154C#FFFFFF#000000##FFFFFF
##5D154C1.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192C4E
Deuteranopia (green-blind)
#31384A
Tritanopia (blue-blind)
#63182E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5d154c;
/* rgb */ color: rgb(93, 21, 76);
/* oklch */ color: oklch(34.0% 0.122 339.1);
Tailwind
colors: {
  custom: {
    50: '#8e5a7e',
    500: '#5d154c',
    950: '#000000',
  },
}
SCSS
$custom: #5d154c;
$custom-light: #8e5a7e;
$custom-dark: #000000;
JSON
{
  "hex": "#5d154c",
  "rgb": {
    "r": 93,
    "g": 21,
    "b": 76
  },
  "hsl": {
    "h": 314.167,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33961,
    "c": 0.12173,
    "h": 339.1
  },
  "luminance": 0.03385
}

Semantic roles & 50–950 ramp

primary
#5D154C
secondary
#39944F
accent
#E66842
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0D040A
muted
#7D797C

Preview Lab

Preview with #5D154C

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

Preview Lab → · Contrast checker → · Palette generator →

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