#5C1247#5C1247

#5C1247 is a dark, vivid pink. Relative luminance 0.032; OKLCH L 33.2% C 0.121 H 342.0°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#5C1247
RGBrgb(92, 18, 71)
HSLhsl(317, 67%, 22%)
HSVhsv(317, 80%, 36%)
CMYKcmyk(0%, 80.4%, 22.8%, 63.9%)
CIE-LABlab(20.69, 38.35, -13.97)
CIE-LCHlch(20.69, 40.81, 339.99°)
OKLaboklab(33.23% 0.1152 -0.0375)
OKLCHoklch(33.23% 0.121 342)
XYZxyz(5.7675, 3.1634, 6.2669)
Luminance0.0316 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1247 #125C27
analogous
#4C125C #5C1247 #5C1222
triadic
#5C1247 #475C12 #12475C
tetradic
#5C1247 #5C4C12 #125C27 #12225C
square
#5C1247 #5C4C12 #125C27 #12225C
split-complementary
#5C1247 #225C12 #125C4C
monochromatic
#1A0514 #29081F #5C1247 #8F1C6F #C22696

Accessibility & contrast

On white

12.86
#5C1247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#5C1247 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1247
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1247#FFFFFF#000000##FFFFFF
##5C12471.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192A48
Deuteranopia (green-blind)
#313645
Tritanopia (blue-blind)
#62132B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5c1247;
/* rgb */ color: rgb(92, 18, 71);
/* oklch */ color: oklch(33.2% 0.121 342.0);
Tailwind
colors: {
  custom: {
    50: '#8d597a',
    500: '#5c1247',
    950: '#000000',
  },
}
SCSS
$custom: #5c1247;
$custom-light: #8d597a;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1247",
  "rgb": {
    "r": 92,
    "g": 18,
    "b": 71
  },
  "hsl": {
    "h": 317.027,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33233,
    "c": 0.12113,
    "h": 342
  },
  "luminance": 0.03163
}

Semantic roles & 50–950 ramp

primary
#5C1247
secondary
#359450
accent
#EA6F3E
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0D0409
muted
#7D797B

Preview Lab

Preview with #5C1247

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

Preview Lab → · Contrast checker → · Palette generator →

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