#5C1143#5C1143

#5C1143 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.9% C 0.120 H 344.9°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#5C1143
RGBrgb(92, 17, 67)
HSLhsl(320, 69%, 21%)
HSVhsv(320, 82%, 36%)
CMYKcmyk(0%, 81.5%, 27.2%, 63.9%)
CIE-LABlab(20.37, 38.11, -11.70)
CIE-LCHlch(20.37, 39.87, 342.93°)
OKLaboklab(32.94% 0.1155 -0.0312)
OKLCHoklch(32.94% 0.12 344.9)
XYZxyz(5.6274, 3.0821, 5.6076)
Luminance0.0308 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1143 #115C2A
analogous
#50115C #5C1143 #5C111E
triadic
#5C1143 #435C11 #11435C
tetradic
#5C1143 #5C5011 #115C2A #111E5C
square
#5C1143 #5C5011 #115C2A #111E5C
split-complementary
#5C1143 #1E5C11 #115C50
monochromatic
#1A0513 #28071D #5C1143 #901B69 #C3248E

Accessibility & contrast

On white

12.99
#5C1143 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C1143
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1143#FFFFFF#000000##FFFFFF
##5C11431.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2944
Deuteranopia (green-blind)
#323641
Tritanopia (blue-blind)
#631028
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5c1143;
/* rgb */ color: rgb(92, 17, 67);
/* oklch */ color: oklch(32.9% 0.120 344.9);
Tailwind
colors: {
  custom: {
    50: '#8d5877',
    500: '#5c1143',
    950: '#000000',
  },
}
SCSS
$custom: #5c1143;
$custom-light: #8d5877;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1143",
  "rgb": {
    "r": 92,
    "g": 17,
    "b": 67
  },
  "hsl": {
    "h": 320,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.3294,
    "c": 0.11959,
    "h": 344.9
  },
  "luminance": 0.03081
}

Semantic roles & 50–950 ramp

primary
#5C1143
secondary
#349554
accent
#EC773C
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0D0408
muted
#7D797B

Preview Lab

Preview with #5C1143

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

Preview Lab → · Contrast checker → · Palette generator →

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