#5C1043#5C1043

#5C1043 is a dark, vivid pink. Relative luminance 0.031; OKLCH L 32.9% C 0.121 H 344.8°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#5C1043
RGBrgb(92, 16, 67)
HSLhsl(320, 70%, 21%)
HSVhsv(320, 83%, 36%)
CMYKcmyk(0%, 82.6%, 27.2%, 63.9%)
CIE-LABlab(20.25, 38.45, -11.89)
CIE-LCHlch(20.25, 40.25, 342.82°)
OKLaboklab(32.85% 0.1165 -0.0317)
OKLCHoklch(32.85% 0.121 344.8)
XYZxyz(5.6123, 3.0518, 5.6026)
Luminance0.0305 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1043 #105C29
analogous
#4F105C #5C1043 #5C101D
triadic
#5C1043 #435C10 #10435C
tetradic
#5C1043 #5C4F10 #105C29 #101D5C
square
#5C1043 #5C4F10 #105C29 #101D5C
split-complementary
#5C1043 #1D5C10 #105C4F
monochromatic
#1A0513 #28071D #5C1043 #901969 #C4228F

Accessibility & contrast

On white

13.04
#5C1043 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#5C1043 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1043
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1043#FFFFFF#000000##FFFFFF
##5C10431.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2944
Deuteranopia (green-blind)
#313541
Tritanopia (blue-blind)
#630F28
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5c1043;
/* rgb */ color: rgb(92, 16, 67);
/* oklch */ color: oklch(32.9% 0.121 344.8);
Tailwind
colors: {
  custom: {
    50: '#8d5877',
    500: '#5c1043',
    950: '#000000',
  },
}
SCSS
$custom: #5c1043;
$custom-light: #8d5877;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1043",
  "rgb": {
    "r": 92,
    "g": 16,
    "b": 67
  },
  "hsl": {
    "h": 319.737,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32853,
    "c": 0.12074,
    "h": 344.8
  },
  "luminance": 0.03051
}

Semantic roles & 50–950 ramp

primary
#5C1043
secondary
#339553
accent
#ED753B
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5C1043

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

Preview Lab → · Contrast checker → · Palette generator →

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