#5C154D#5C154D

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

Color values

HEX#5C154D
RGBrgb(92, 21, 77)
HSLhsl(313, 63%, 22%)
HSVhsv(313, 77%, 36%)
CMYKcmyk(0%, 77.2%, 16.3%, 63.9%)
CIE-LABlab(21.39, 38.17, -16.97)
CIE-LCHlch(21.39, 41.77, 336.03°)
OKLaboklab(33.84% 0.1128 -0.0461)
OKLCHoklch(33.84% 0.122 337.8)
XYZxyz(6.0215, 3.3480, 7.3488)
Luminance0.0335 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C154D #155C24
analogous
#48155C #5C154D #5C152A
triadic
#5C154D #4D5C15 #154D5C
tetradic
#5C154D #5C4815 #155C24 #152A5C
square
#5C154D #5C4815 #155C24 #152A5C
split-complementary
#5C154D #2A5C15 #155C48
monochromatic
#190615 #2A0A23 #5C154D #8E2077 #C02CA0

Accessibility & contrast

On white

12.58
#5C154D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C154D
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C154D#FFFFFF#000000##FFFFFF
##5C154D1.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182C4F
Deuteranopia (green-blind)
#2F374B
Tritanopia (blue-blind)
#61192F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5c154d;
/* rgb */ color: rgb(92, 21, 77);
/* oklch */ color: oklch(33.8% 0.122 337.8);
Tailwind
colors: {
  custom: {
    50: '#8d5a7f',
    500: '#5c154d',
    950: '#000000',
  },
}
SCSS
$custom: #5c154d;
$custom-light: #8d5a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#5c154d",
  "rgb": {
    "r": 92,
    "g": 21,
    "b": 77
  },
  "hsl": {
    "h": 312.676,
    "s": 62.832,
    "l": 22.157
  },
  "oklch": {
    "l": 0.3384,
    "c": 0.1218,
    "h": 337.8
  },
  "luminance": 0.03347
}

Semantic roles & 50–950 ramp

primary
#5C154D
secondary
#39934C
accent
#E66542
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #5C154D

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

Preview Lab → · Contrast checker → · Palette generator →

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