#5C1142#5C1142

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

Color values

HEX#5C1142
RGBrgb(92, 17, 66)
HSLhsl(321, 69%, 21%)
HSVhsv(321, 82%, 36%)
CMYKcmyk(0%, 81.5%, 28.3%, 63.9%)
CIE-LABlab(20.32, 37.97, -11.09)
CIE-LCHlch(20.32, 39.55, 343.72°)
OKLaboklab(32.89% 0.1152 -0.0294)
OKLCHoklch(32.89% 0.119 345.7)
XYZxyz(5.5977, 3.0702, 5.4510)
Luminance0.0307 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1142 #115C2B
analogous
#51115C #5C1142 #5C111D
triadic
#5C1142 #425C11 #11425C
tetradic
#5C1142 #5C5111 #115C2B #111D5C
square
#5C1142 #5C5111 #115C2B #111D5C
split-complementary
#5C1142 #1D5C11 #115C51
monochromatic
#1A0513 #28071D #5C1142 #901B67 #C3248C

Accessibility & contrast

On white

13.01
#5C1142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C1142
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1142#FFFFFF#000000##FFFFFF
##5C11421.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c1142;
/* rgb */ color: rgb(92, 17, 66);
/* oklch */ color: oklch(32.9% 0.119 345.7);
Tailwind
colors: {
  custom: {
    50: '#8d5876',
    500: '#5c1142',
    950: '#000000',
  },
}
SCSS
$custom: #5c1142;
$custom-light: #8d5876;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1142",
  "rgb": {
    "r": 92,
    "g": 17,
    "b": 66
  },
  "hsl": {
    "h": 320.8,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.3289,
    "c": 0.11894,
    "h": 345.7
  },
  "luminance": 0.0307
}

Semantic roles & 50–950 ramp

primary
#5C1142
secondary
#349556
accent
#EC793C
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5C1142

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

Preview Lab → · Contrast checker → · Palette generator →

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