#5C124A#5C124A

#5C124A is a dark, vivid pink. Relative luminance 0.032; OKLCH L 33.4% C 0.123 H 339.8°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#5C124A
RGBrgb(92, 18, 74)
HSLhsl(315, 67%, 22%)
HSVhsv(315, 80%, 36%)
CMYKcmyk(0%, 80.4%, 19.6%, 63.9%)
CIE-LABlab(20.84, 38.81, -15.78)
CIE-LCHlch(20.84, 41.89, 337.87°)
OKLaboklab(33.39% 0.1157 -0.0426)
OKLCHoklch(33.39% 0.123 339.8)
XYZxyz(5.8661, 3.2029, 6.7865)
Luminance0.0320 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C124A #125C24
analogous
#49125C #5C124A #5C1225
triadic
#5C124A #4A5C12 #124A5C
tetradic
#5C124A #5C4912 #125C24 #12255C
square
#5C124A #5C4912 #125C24 #12255C
split-complementary
#5C124A #255C12 #125C49
monochromatic
#1A0515 #290821 #5C124A #8F1C73 #C2269C

Accessibility & contrast

On white

12.80
#5C124A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#5C124A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C124A
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C124A#FFFFFF#000000##FFFFFF
##5C124A1.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172B4C
Deuteranopia (green-blind)
#2F3648
Tritanopia (blue-blind)
#62152C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5c124a;
/* rgb */ color: rgb(92, 18, 74);
/* oklch */ color: oklch(33.4% 0.123 339.8);
Tailwind
colors: {
  custom: {
    50: '#8d597c',
    500: '#5c124a',
    950: '#000000',
  },
}
SCSS
$custom: #5c124a;
$custom-light: #8d597c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c124a",
  "rgb": {
    "r": 92,
    "g": 18,
    "b": 74
  },
  "hsl": {
    "h": 314.595,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33392,
    "c": 0.12328,
    "h": 339.8
  },
  "luminance": 0.03202
}

Semantic roles & 50–950 ramp

primary
#5C124A
secondary
#35944D
accent
#EA683E
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0D0409
muted
#7D797B

Preview Lab

Preview with #5C124A

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

Preview Lab → · Contrast checker → · Palette generator →

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