#5C1C4E#5C1C4E

#5C1C4E is a dark, moderate pink. Relative luminance 0.037; OKLCH L 34.7% C 0.113 H 337.5°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#5C1C4E
RGBrgb(92, 28, 78)
HSLhsl(313, 53%, 24%)
HSVhsv(313, 70%, 36%)
CMYKcmyk(0%, 69.6%, 15.2%, 63.9%)
CIE-LABlab(22.50, 35.36, -15.91)
CIE-LCHlch(22.50, 38.78, 335.77°)
OKLaboklab(34.67% 0.104 -0.0431)
OKLCHoklch(34.67% 0.113 337.5)
XYZxyz(6.2041, 3.6564, 7.5853)
Luminance0.0366 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1C4E #1C5C2A
analogous
#4A1C5C #5C1C4E #5C1C2E
triadic
#5C1C4E #4E5C1C #1C4E5C
tetradic
#5C1C4E #5C4A1C #1C5C2A #1C2E5C
square
#5C1C4E #5C4A1C #1C5C2A #1C2E5C
split-complementary
#5C1C4E #2E5C1C #1C5C4A
monochromatic
#170714 #2D0E26 #5C1C4E #8B2A76 #BA399E

Accessibility & contrast

On white

12.13
#5C1C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#5C1C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1C4E
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1C4E#FFFFFF#000000##FFFFFF
##5C1C4E1.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2F4F
Deuteranopia (green-blind)
#32394C
Tritanopia (blue-blind)
#611F32
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5c1c4e;
/* rgb */ color: rgb(92, 28, 78);
/* oklch */ color: oklch(34.7% 0.113 337.5);
Tailwind
colors: {
  custom: {
    50: '#8d5e7f',
    500: '#5c1c4e',
    950: '#000000',
  },
}
SCSS
$custom: #5c1c4e;
$custom-light: #8d5e7f;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1c4e",
  "rgb": {
    "r": 92,
    "g": 28,
    "b": 78
  },
  "hsl": {
    "h": 313.125,
    "s": 53.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.34667,
    "c": 0.11261,
    "h": 337.5
  },
  "luminance": 0.03656
}

Semantic roles & 50–950 ramp

primary
#5C1C4E
secondary
#429154
accent
#DD6B4B
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #5C1C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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