#5C1042#5C1042

#5C1042 is a dark, vivid pink. Relative luminance 0.030; OKLCH L 32.8% C 0.120 H 345.6°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#5C1042
RGBrgb(92, 16, 66)
HSLhsl(321, 70%, 21%)
HSVhsv(321, 83%, 36%)
CMYKcmyk(0%, 82.6%, 28.3%, 63.9%)
CIE-LABlab(20.20, 38.31, -11.27)
CIE-LCHlch(20.20, 39.93, 343.61°)
OKLaboklab(32.8% 0.1163 -0.0299)
OKLCHoklch(32.8% 0.12 345.6)
XYZxyz(5.5825, 3.0399, 5.4460)
Luminance0.0304 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1042 #105C2A
analogous
#50105C #5C1042 #5C101C
triadic
#5C1042 #425C10 #10425C
tetradic
#5C1042 #5C5010 #105C2A #101C5C
square
#5C1042 #5C5010 #105C2A #101C5C
split-complementary
#5C1042 #1C5C10 #105C50
monochromatic
#1A0513 #28071D #5C1042 #901967 #C4228D

Accessibility & contrast

On white

13.06
#5C1042 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C1042
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1042#FFFFFF#000000##FFFFFF
##5C10421.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2943
Deuteranopia (green-blind)
#323540
Tritanopia (blue-blind)
#630E27
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5c1042;
/* rgb */ color: rgb(92, 16, 66);
/* oklch */ color: oklch(32.8% 0.120 345.6);
Tailwind
colors: {
  custom: {
    50: '#8d5876',
    500: '#5c1042',
    950: '#000000',
  },
}
SCSS
$custom: #5c1042;
$custom-light: #8d5876;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1042",
  "rgb": {
    "r": 92,
    "g": 16,
    "b": 66
  },
  "hsl": {
    "h": 320.526,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32803,
    "c": 0.12009,
    "h": 345.6
  },
  "luminance": 0.03039
}

Semantic roles & 50–950 ramp

primary
#5C1042
secondary
#339554
accent
#ED783B
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5C1042

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

Preview Lab → · Contrast checker → · Palette generator →

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