#5C124D#5C124D

#5C124D is a dark, vivid pink. Relative luminance 0.032; OKLCH L 33.6% C 0.126 H 337.6°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#5C124D
RGBrgb(92, 18, 77)
HSLhsl(312, 67%, 22%)
HSVhsv(312, 80%, 36%)
CMYKcmyk(0%, 80.4%, 16.3%, 63.9%)
CIE-LABlab(21.00, 39.28, -17.58)
CIE-LCHlch(21.00, 43.03, 335.89°)
OKLaboklab(33.56% 0.1161 -0.0478)
OKLCHoklch(33.56% 0.126 337.6)
XYZxyz(5.9696, 3.2443, 7.3316)
Luminance0.0324 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C124D #125C21
analogous
#46125C #5C124D #5C1228
triadic
#5C124D #4D5C12 #124D5C
tetradic
#5C124D #5C4612 #125C21 #12285C
square
#5C124D #5C4612 #125C21 #12285C
split-complementary
#5C124D #285C12 #125C46
monochromatic
#1A0515 #290822 #5C124D #8F1C78 #C226A3

Accessibility & contrast

On white

12.74
#5C124D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C124D
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C124D#FFFFFF#000000##FFFFFF
##5C124D1.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152B4F
Deuteranopia (green-blind)
#2E374B
Tritanopia (blue-blind)
#61162E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5c124d;
/* rgb */ color: rgb(92, 18, 77);
/* oklch */ color: oklch(33.6% 0.126 337.6);
Tailwind
colors: {
  custom: {
    50: '#8d597f',
    500: '#5c124d',
    950: '#000000',
  },
}
SCSS
$custom: #5c124d;
$custom-light: #8d597f;
$custom-dark: #000000;
JSON
{
  "hex": "#5c124d",
  "rgb": {
    "r": 92,
    "g": 18,
    "b": 77
  },
  "hsl": {
    "h": 312.162,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33558,
    "c": 0.12553,
    "h": 337.6
  },
  "luminance": 0.03244
}

Semantic roles & 50–950 ramp

primary
#5C124D
secondary
#359449
accent
#EA613E
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0D040A
muted
#7D797C

Preview Lab

Preview with #5C124D

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

Preview Lab → · Contrast checker → · Palette generator →

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