#5C1242#5C1242

#5C1242 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 33.0% C 0.118 H 345.8°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#5C1242
RGBrgb(92, 18, 66)
HSLhsl(321, 67%, 22%)
HSVhsv(321, 80%, 36%)
CMYKcmyk(0%, 80.4%, 28.3%, 63.9%)
CIE-LABlab(20.45, 37.62, -10.89)
CIE-LCHlch(20.45, 39.16, 343.85°)
OKLaboklab(32.98% 0.1141 -0.0289)
OKLCHoklch(32.98% 0.118 345.8)
XYZxyz(5.6136, 3.1019, 5.4563)
Luminance0.0310 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1242 #125C2C
analogous
#51125C #5C1242 #5C121D
triadic
#5C1242 #425C12 #12425C
tetradic
#5C1242 #5C5112 #125C2C #121D5C
square
#5C1242 #5C5112 #125C2C #121D5C
split-complementary
#5C1242 #1D5C12 #125C51
monochromatic
#1A0512 #29081D #5C1242 #8F1C67 #C2268B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C1242#FFFFFF#000000##FFFFFF
##5C12421.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)
#1C2943
Deuteranopia (green-blind)
#323640
Tritanopia (blue-blind)
#631028
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5c1242;
/* rgb */ color: rgb(92, 18, 66);
/* oklch */ color: oklch(33.0% 0.118 345.8);
Tailwind
colors: {
  custom: {
    50: '#8d5876',
    500: '#5c1242',
    950: '#000000',
  },
}
SCSS
$custom: #5c1242;
$custom-light: #8d5876;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1242",
  "rgb": {
    "r": 92,
    "g": 18,
    "b": 66
  },
  "hsl": {
    "h": 321.081,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32981,
    "c": 0.11775,
    "h": 345.8
  },
  "luminance": 0.03101
}

Semantic roles & 50–950 ramp

primary
#5C1242
secondary
#359457
accent
#EA7A3E
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0D0408
muted
#7D797B

Preview Lab

Preview with #5C1242

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

Preview Lab → · Contrast checker → · Palette generator →

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