#5C1146#5C1146

#5C1146 is a dark, vivid pink. Relative luminance 0.031; OKLCH L 33.1% C 0.122 H 342.6°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#5C1146
RGBrgb(92, 17, 70)
HSLhsl(318, 69%, 21%)
HSVhsv(318, 82%, 36%)
CMYKcmyk(0%, 81.5%, 23.9%, 63.9%)
CIE-LABlab(20.51, 38.55, -13.55)
CIE-LCHlch(20.51, 40.86, 340.64°)
OKLaboklab(33.09% 0.1161 -0.0363)
OKLCHoklch(33.09% 0.122 342.6)
XYZxyz(5.7198, 3.1190, 6.0940)
Luminance0.0312 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1146 #115C27
analogous
#4D115C #5C1146 #5C1121
triadic
#5C1146 #465C11 #11465C
tetradic
#5C1146 #5C4D11 #115C27 #11215C
square
#5C1146 #5C4D11 #115C27 #11215C
split-complementary
#5C1146 #215C11 #115C4D
monochromatic
#1A0514 #28071F #5C1146 #901B6D #C32495

Accessibility & contrast

On white

12.93
#5C1146 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C1146
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1146#FFFFFF#000000##FFFFFF
##5C11461.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192A47
Deuteranopia (green-blind)
#313644
Tritanopia (blue-blind)
#62122A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5c1146;
/* rgb */ color: rgb(92, 17, 70);
/* oklch */ color: oklch(33.1% 0.122 342.6);
Tailwind
colors: {
  custom: {
    50: '#8d5879',
    500: '#5c1146',
    950: '#000000',
  },
}
SCSS
$custom: #5c1146;
$custom-light: #8d5879;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1146",
  "rgb": {
    "r": 92,
    "g": 17,
    "b": 70
  },
  "hsl": {
    "h": 317.6,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33092,
    "c": 0.12161,
    "h": 342.6
  },
  "luminance": 0.03118
}

Semantic roles & 50–950 ramp

primary
#5C1146
secondary
#349550
accent
#EC703C
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0D0409
muted
#7D797B

Preview Lab

Preview with #5C1146

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

Preview Lab → · Contrast checker → · Palette generator →

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