#5C124C#5C124C

#5C124C is a dark, vivid pink. Relative luminance 0.032; OKLCH L 33.5% C 0.125 H 338.3°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#5C124C
RGBrgb(92, 18, 76)
HSLhsl(313, 67%, 22%)
HSVhsv(313, 80%, 36%)
CMYKcmyk(0%, 80.4%, 17.4%, 63.9%)
CIE-LABlab(20.94, 39.12, -16.98)
CIE-LCHlch(20.94, 42.65, 336.54°)
OKLaboklab(33.5% 0.116 -0.0461)
OKLCHoklch(33.5% 0.125 338.3)
XYZxyz(5.9346, 3.2303, 7.1470)
Luminance0.0323 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C124C #125C22
analogous
#47125C #5C124C #5C1227
triadic
#5C124C #4C5C12 #124C5C
tetradic
#5C124C #5C4712 #125C22 #12275C
square
#5C124C #5C4712 #125C22 #12275C
split-complementary
#5C124C #275C12 #125C47
monochromatic
#1A0515 #290822 #5C124C #8F1C76 #C226A1

Accessibility & contrast

On white

12.76
#5C124C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5C124C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C124C
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C124C#FFFFFF#000000##FFFFFF
##5C124C1.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162B4E
Deuteranopia (green-blind)
#2F364A
Tritanopia (blue-blind)
#62162D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5c124c;
/* rgb */ color: rgb(92, 18, 76);
/* oklch */ color: oklch(33.5% 0.125 338.3);
Tailwind
colors: {
  custom: {
    50: '#8d597e',
    500: '#5c124c',
    950: '#000000',
  },
}
SCSS
$custom: #5c124c;
$custom-light: #8d597e;
$custom-dark: #000000;
JSON
{
  "hex": "#5c124c",
  "rgb": {
    "r": 92,
    "g": 18,
    "b": 76
  },
  "hsl": {
    "h": 312.973,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33502,
    "c": 0.12476,
    "h": 338.3
  },
  "luminance": 0.0323
}

Semantic roles & 50–950 ramp

primary
#5C124C
secondary
#35944A
accent
#EA633E
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0D040A
muted
#7D797C

Preview Lab

Preview with #5C124C

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

Preview Lab → · Contrast checker → · Palette generator →

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