#5C1046#5C1046

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

Color values

HEX#5C1046
RGBrgb(92, 16, 70)
HSLhsl(317, 70%, 21%)
HSVhsv(317, 83%, 36%)
CMYKcmyk(0%, 82.6%, 23.9%, 63.9%)
CIE-LABlab(20.40, 38.89, -13.73)
CIE-LCHlch(20.40, 41.24, 340.55°)
OKLaboklab(33.01% 0.1171 -0.0368)
OKLCHoklch(33.01% 0.123 342.5)
XYZxyz(5.7046, 3.0887, 6.0889)
Luminance0.0309 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1046 #105C26
analogous
#4C105C #5C1046 #5C1020
triadic
#5C1046 #465C10 #10465C
tetradic
#5C1046 #5C4C10 #105C26 #10205C
square
#5C1046 #5C4C10 #105C26 #10205C
split-complementary
#5C1046 #205C10 #105C4C
monochromatic
#1A0514 #28071E #5C1046 #90196E #C42295

Accessibility & contrast

On white

12.98
#5C1046 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C1046
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1046#FFFFFF#000000##FFFFFF
##5C10461.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c1046;
/* rgb */ color: rgb(92, 16, 70);
/* oklch */ color: oklch(33.0% 0.123 342.5);
Tailwind
colors: {
  custom: {
    50: '#8d5879',
    500: '#5c1046',
    950: '#000000',
  },
}
SCSS
$custom: #5c1046;
$custom-light: #8d5879;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1046",
  "rgb": {
    "r": 92,
    "g": 16,
    "b": 70
  },
  "hsl": {
    "h": 317.368,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.33006,
    "c": 0.12276,
    "h": 342.5
  },
  "luminance": 0.03088
}

Semantic roles & 50–950 ramp

primary
#5C1046
secondary
#33954F
accent
#ED6E3B
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0D0409
muted
#7D797B

Preview Lab

Preview with #5C1046

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

Preview Lab → · Contrast checker → · Palette generator →

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