#5C154A#5C154A

#5C154A is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.7% C 0.120 H 340.0°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#5C154A
RGBrgb(92, 21, 74)
HSLhsl(315, 63%, 22%)
HSVhsv(315, 77%, 36%)
CMYKcmyk(0%, 77.2%, 19.6%, 63.9%)
CIE-LABlab(21.23, 37.69, -15.17)
CIE-LCHlch(21.23, 40.63, 338.07°)
OKLaboklab(33.68% 0.1123 -0.0409)
OKLCHoklch(33.68% 0.12 340)
XYZxyz(5.9180, 3.3066, 6.8038)
Luminance0.0331 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C154A #155C27
analogous
#4B155C #5C154A #5C1527
triadic
#5C154A #4A5C15 #154A5C
tetradic
#5C154A #5C4B15 #155C27 #15275C
square
#5C154A #5C4B15 #155C27 #15275C
split-complementary
#5C154A #275C15 #155C4B
monochromatic
#190614 #2A0A22 #5C154A #8E2072 #C02C9A

Accessibility & contrast

On white

12.64
#5C154A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#5C154A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C154A
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C154A#FFFFFF#000000##FFFFFF
##5C154A1.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2C4B
Deuteranopia (green-blind)
#313748
Tritanopia (blue-blind)
#62172D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5c154a;
/* rgb */ color: rgb(92, 21, 74);
/* oklch */ color: oklch(33.7% 0.120 340.0);
Tailwind
colors: {
  custom: {
    50: '#8d5a7c',
    500: '#5c154a',
    950: '#000000',
  },
}
SCSS
$custom: #5c154a;
$custom-light: #8d5a7c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c154a",
  "rgb": {
    "r": 92,
    "g": 21,
    "b": 74
  },
  "hsl": {
    "h": 315.211,
    "s": 62.832,
    "l": 22.157
  },
  "oklch": {
    "l": 0.33677,
    "c": 0.11952,
    "h": 340
  },
  "luminance": 0.03306
}

Semantic roles & 50–950 ramp

primary
#5C154A
secondary
#399350
accent
#E66B42
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C0409
muted
#7D797B

Preview Lab

Preview with #5C154A

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

Preview Lab → · Contrast checker → · Palette generator →

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