#5C1047#5C1047

#5C1047 is a dark, vivid pink. Relative luminance 0.031; OKLCH L 33.1% C 0.123 H 341.8°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#5C1047
RGBrgb(92, 16, 71)
HSLhsl(317, 70%, 21%)
HSVhsv(317, 83%, 36%)
CMYKcmyk(0%, 82.6%, 22.8%, 63.9%)
CIE-LABlab(20.45, 39.04, -14.34)
CIE-LCHlch(20.45, 41.59, 339.83°)
OKLaboklab(33.06% 0.1173 -0.0386)
OKLCHoklch(33.06% 0.123 341.8)
XYZxyz(5.7365, 3.1014, 6.2565)
Luminance0.0310 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1047 #105C25
analogous
#4B105C #5C1047 #5C1021
triadic
#5C1047 #475C10 #10475C
tetradic
#5C1047 #5C4B10 #105C25 #10215C
square
#5C1047 #5C4B10 #105C25 #10215C
split-complementary
#5C1047 #215C10 #105C4B
monochromatic
#1A0514 #28071F #5C1047 #90196F #C42297

Accessibility & contrast

On white

12.96
#5C1047 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#5C1047 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1047
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1047#FFFFFF#000000##FFFFFF
##5C10471.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172948
Deuteranopia (green-blind)
#303645
Tritanopia (blue-blind)
#62112A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5c1047;
/* rgb */ color: rgb(92, 16, 71);
/* oklch */ color: oklch(33.1% 0.123 341.8);
Tailwind
colors: {
  custom: {
    50: '#8d587a',
    500: '#5c1047',
    950: '#000000',
  },
}
SCSS
$custom: #5c1047;
$custom-light: #8d587a;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1047",
  "rgb": {
    "r": 92,
    "g": 16,
    "b": 71
  },
  "hsl": {
    "h": 316.579,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.33058,
    "c": 0.12345,
    "h": 341.8
  },
  "luminance": 0.03101
}

Semantic roles & 50–950 ramp

primary
#5C1047
secondary
#33954E
accent
#ED6C3B
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0D0409
muted
#7D797B

Preview Lab

Preview with #5C1047

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

Preview Lab → · Contrast checker → · Palette generator →

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