#5C1147#5C1147

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

Color values

HEX#5C1147
RGBrgb(92, 17, 71)
HSLhsl(317, 69%, 21%)
HSVhsv(317, 82%, 36%)
CMYKcmyk(0%, 81.5%, 22.8%, 63.9%)
CIE-LABlab(20.56, 38.70, -14.16)
CIE-LCHlch(20.56, 41.21, 339.91°)
OKLaboklab(33.14% 0.1162 -0.038)
OKLCHoklch(33.14% 0.122 341.9)
XYZxyz(5.7516, 3.1317, 6.2616)
Luminance0.0313 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1147 #115C26
analogous
#4C115C #5C1147 #5C1122
triadic
#5C1147 #475C11 #11475C
tetradic
#5C1147 #5C4C11 #115C26 #11225C
square
#5C1147 #5C4C11 #115C26 #11225C
split-complementary
#5C1147 #225C11 #115C4C
monochromatic
#1A0514 #28071F #5C1147 #901B6F #C32497

Accessibility & contrast

On white

12.91
#5C1147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C1147
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1147#FFFFFF#000000##FFFFFF
##5C11471.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182A48
Deuteranopia (green-blind)
#303645
Tritanopia (blue-blind)
#62122A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5c1147;
/* rgb */ color: rgb(92, 17, 71);
/* oklch */ color: oklch(33.1% 0.122 341.9);
Tailwind
colors: {
  custom: {
    50: '#8d587a',
    500: '#5c1147',
    950: '#000000',
  },
}
SCSS
$custom: #5c1147;
$custom-light: #8d587a;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1147",
  "rgb": {
    "r": 92,
    "g": 17,
    "b": 71
  },
  "hsl": {
    "h": 316.8,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33144,
    "c": 0.12231,
    "h": 341.9
  },
  "luminance": 0.03131
}

Semantic roles & 50–950 ramp

primary
#5C1147
secondary
#34954F
accent
#EC6D3C
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0D0409
muted
#7D797B

Preview Lab

Preview with #5C1147

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

Preview Lab → · Contrast checker → · Palette generator →

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