#5C1049#5C1049

#5C1049 is a dark, vivid pink. Relative luminance 0.031; OKLCH L 33.2% C 0.125 H 340.3°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#5C1049
RGBrgb(92, 16, 73)
HSLhsl(315, 70%, 21%)
HSVhsv(315, 83%, 36%)
CMYKcmyk(0%, 82.6%, 20.7%, 63.9%)
CIE-LABlab(20.55, 39.34, -15.55)
CIE-LCHlch(20.55, 42.30, 338.43°)
OKLaboklab(33.17% 0.1176 -0.042)
OKLCHoklch(33.17% 0.125 340.3)
XYZxyz(5.8017, 3.1275, 6.6002)
Luminance0.0313 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1049 #105C23
analogous
#49105C #5C1049 #5C1023
triadic
#5C1049 #495C10 #10495C
tetradic
#5C1049 #5C4910 #105C23 #10235C
square
#5C1049 #5C4910 #105C23 #10235C
split-complementary
#5C1049 #235C10 #105C49
monochromatic
#1A0515 #280720 #5C1049 #901972 #C4229C

Accessibility & contrast

On white

12.92
#5C1049 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C1049
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1049#FFFFFF#000000##FFFFFF
##5C10491.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162A4B
Deuteranopia (green-blind)
#2F3647
Tritanopia (blue-blind)
#62122B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5c1049;
/* rgb */ color: rgb(92, 16, 73);
/* oklch */ color: oklch(33.2% 0.125 340.3);
Tailwind
colors: {
  custom: {
    50: '#8d587c',
    500: '#5c1049',
    950: '#000000',
  },
}
SCSS
$custom: #5c1049;
$custom-light: #8d587c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1049",
  "rgb": {
    "r": 92,
    "g": 16,
    "b": 73
  },
  "hsl": {
    "h": 315,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.33165,
    "c": 0.12486,
    "h": 340.3
  },
  "luminance": 0.03127
}

Semantic roles & 50–950 ramp

primary
#5C1049
secondary
#33954B
accent
#ED673B
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0D0409
muted
#7D797B

Preview Lab

Preview with #5C1049

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

Preview Lab → · Contrast checker → · Palette generator →

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