#5C1148#5C1148

#5C1148 is a dark, vivid pink. Relative luminance 0.031; OKLCH L 33.2% C 0.123 H 341.1°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#5C1148
RGBrgb(92, 17, 72)
HSLhsl(316, 69%, 21%)
HSVhsv(316, 82%, 36%)
CMYKcmyk(0%, 81.5%, 21.7%, 63.9%)
CIE-LABlab(20.61, 38.85, -14.76)
CIE-LCHlch(20.61, 41.56, 339.19°)
OKLaboklab(33.2% 0.1164 -0.0398)
OKLCHoklch(33.2% 0.123 341.1)
XYZxyz(5.7840, 3.1447, 6.4320)
Luminance0.0314 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1148 #115C25
analogous
#4B115C #5C1148 #5C1123
triadic
#5C1148 #485C11 #11485C
tetradic
#5C1148 #5C4B11 #115C25 #11235C
square
#5C1148 #5C4B11 #115C25 #11235C
split-complementary
#5C1148 #235C11 #115C4B
monochromatic
#1A0514 #280720 #5C1148 #901B70 #C32499

Accessibility & contrast

On white

12.89
#5C1148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C1148
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1148#FFFFFF#000000##FFFFFF
##5C11481.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182A49
Deuteranopia (green-blind)
#303646
Tritanopia (blue-blind)
#62132B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5c1148;
/* rgb */ color: rgb(92, 17, 72);
/* oklch */ color: oklch(33.2% 0.123 341.1);
Tailwind
colors: {
  custom: {
    50: '#8d587b',
    500: '#5c1148',
    950: '#000000',
  },
}
SCSS
$custom: #5c1148;
$custom-light: #8d587b;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1148",
  "rgb": {
    "r": 92,
    "g": 17,
    "b": 72
  },
  "hsl": {
    "h": 316,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33197,
    "c": 0.12301,
    "h": 341.1
  },
  "luminance": 0.03144
}

Semantic roles & 50–950 ramp

primary
#5C1148
secondary
#34954E
accent
#EC6B3C
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0D0409
muted
#7D797B

Preview Lab

Preview with #5C1148

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

Preview Lab → · Contrast checker → · Palette generator →

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