#5C1149#5C1149

#5C1149 is a dark, vivid pink. Relative luminance 0.032; OKLCH L 33.3% C 0.124 H 340.4°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#5C1149
RGBrgb(92, 17, 73)
HSLhsl(315, 69%, 21%)
HSVhsv(315, 82%, 36%)
CMYKcmyk(0%, 81.5%, 20.7%, 63.9%)
CIE-LABlab(20.67, 39.00, -15.37)
CIE-LCHlch(20.67, 41.92, 338.49°)
OKLaboklab(33.25% 0.1166 -0.0415)
OKLCHoklch(33.25% 0.124 340.4)
XYZxyz(5.8169, 3.1578, 6.6052)
Luminance0.0316 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1149 #115C24
analogous
#4A115C #5C1149 #5C1124
triadic
#5C1149 #495C11 #11495C
tetradic
#5C1149 #5C4A11 #115C24 #11245C
square
#5C1149 #5C4A11 #115C24 #11245C
split-complementary
#5C1149 #245C11 #115C4A
monochromatic
#1A0514 #280720 #5C1149 #901B72 #C3249B

Accessibility & contrast

On white

12.87
#5C1149 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#5C1149 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1149
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1149#FFFFFF#000000##FFFFFF
##5C11491.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172A4A
Deuteranopia (green-blind)
#2F3647
Tritanopia (blue-blind)
#62132B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5c1149;
/* rgb */ color: rgb(92, 17, 73);
/* oklch */ color: oklch(33.3% 0.124 340.4);
Tailwind
colors: {
  custom: {
    50: '#8d587c',
    500: '#5c1149',
    950: '#000000',
  },
}
SCSS
$custom: #5c1149;
$custom-light: #8d587c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1149",
  "rgb": {
    "r": 92,
    "g": 17,
    "b": 73
  },
  "hsl": {
    "h": 315.2,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.3325,
    "c": 0.12373,
    "h": 340.4
  },
  "luminance": 0.03157
}

Semantic roles & 50–950 ramp

primary
#5C1149
secondary
#34954D
accent
#EC693C
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0D0409
muted
#7D797B

Preview Lab

Preview with #5C1149

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

Preview Lab → · Contrast checker → · Palette generator →

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