#5C1A4E#5C1A4E

#5C1A4E is a dark, moderate pink. Relative luminance 0.036; OKLCH L 34.4% C 0.116 H 337.3°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#5C1A4E
RGBrgb(92, 26, 78)
HSLhsl(313, 56%, 23%)
HSVhsv(313, 72%, 36%)
CMYKcmyk(0%, 71.7%, 15.2%, 63.9%)
CIE-LABlab(22.18, 36.27, -16.42)
CIE-LCHlch(22.18, 39.81, 335.65°)
OKLaboklab(34.43% 0.1067 -0.0445)
OKLCHoklch(34.43% 0.116 337.3)
XYZxyz(6.1583, 3.5647, 7.5700)
Luminance0.0356 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1A4E #1A5C28
analogous
#491A5C #5C1A4E #5C1A2D
triadic
#5C1A4E #4E5C1A #1A4E5C
tetradic
#5C1A4E #5C491A #1A5C28 #1A2D5C
square
#5C1A4E #5C491A #1A5C28 #1A2D5C
split-complementary
#5C1A4E #2D5C1A #1A5C49
monochromatic
#180714 #2C0D26 #5C1A4E #8C2776 #BB359F

Accessibility & contrast

On white

12.26
#5C1A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#5C1A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1A4E
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1A4E#FFFFFF#000000##FFFFFF
##5C1A4E1.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2F50
Deuteranopia (green-blind)
#31394C
Tritanopia (blue-blind)
#611D31
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5c1a4e;
/* rgb */ color: rgb(92, 26, 78);
/* oklch */ color: oklch(34.4% 0.116 337.3);
Tailwind
colors: {
  custom: {
    50: '#8d5d7f',
    500: '#5c1a4e',
    950: '#000000',
  },
}
SCSS
$custom: #5c1a4e;
$custom-light: #8d5d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1a4e",
  "rgb": {
    "r": 92,
    "g": 26,
    "b": 78
  },
  "hsl": {
    "h": 312.727,
    "s": 55.932,
    "l": 23.137
  },
  "oklch": {
    "l": 0.3443,
    "c": 0.11563,
    "h": 337.3
  },
  "luminance": 0.03564
}

Semantic roles & 50–950 ramp

primary
#5C1A4E
secondary
#409251
accent
#DF6949
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #5C1A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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