#5C154C#5C154C

#5C154C is a dark, vivid pink. Relative luminance 0.033; OKLCH L 33.8% C 0.121 H 338.5°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#5C154C
RGBrgb(92, 21, 76)
HSLhsl(314, 63%, 22%)
HSVhsv(314, 77%, 36%)
CMYKcmyk(0%, 77.2%, 17.4%, 63.9%)
CIE-LABlab(21.33, 38.01, -16.37)
CIE-LCHlch(21.33, 41.39, 336.70°)
OKLaboklab(33.78% 0.1126 -0.0444)
OKLCHoklch(33.78% 0.121 338.5)
XYZxyz(5.9864, 3.3340, 7.1643)
Luminance0.0333 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C154C #155C25
analogous
#49155C #5C154C #5C1529
triadic
#5C154C #4C5C15 #154C5C
tetradic
#5C154C #5C4915 #155C25 #15295C
square
#5C154C #5C4915 #155C25 #15295C
split-complementary
#5C154C #295C15 #155C49
monochromatic
#190615 #2A0A23 #5C154C #8E2075 #C02C9E

Accessibility & contrast

On white

12.60
#5C154C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#5C154C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C154C
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C154C#FFFFFF#000000##FFFFFF
##5C154C1.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182C4E
Deuteranopia (green-blind)
#30374A
Tritanopia (blue-blind)
#62182E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5c154c;
/* rgb */ color: rgb(92, 21, 76);
/* oklch */ color: oklch(33.8% 0.121 338.5);
Tailwind
colors: {
  custom: {
    50: '#8d5a7e',
    500: '#5c154c',
    950: '#000000',
  },
}
SCSS
$custom: #5c154c;
$custom-light: #8d5a7e;
$custom-dark: #000000;
JSON
{
  "hex": "#5c154c",
  "rgb": {
    "r": 92,
    "g": 21,
    "b": 76
  },
  "hsl": {
    "h": 313.521,
    "s": 62.832,
    "l": 22.157
  },
  "oklch": {
    "l": 0.33785,
    "c": 0.12103,
    "h": 338.5
  },
  "luminance": 0.03333
}

Semantic roles & 50–950 ramp

primary
#5C154C
secondary
#39934E
accent
#E66742
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #5C154C

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

Preview Lab → · Contrast checker → · Palette generator →

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