#5C1139#5C1139

#5C1139 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.5% C 0.114 H 353.0°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#5C1139
RGBrgb(92, 17, 57)
HSLhsl(328, 69%, 21%)
HSVhsv(328, 82%, 36%)
CMYKcmyk(0%, 81.5%, 38%, 63.9%)
CIE-LABlab(19.93, 36.77, -5.42)
CIE-LCHlch(19.93, 37.17, 351.62°)
OKLaboklab(32.48% 0.1128 -0.0139)
OKLCHoklch(32.48% 0.114 353)
XYZxyz(5.3529, 2.9723, 4.1619)
Luminance0.0297 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1139 #115C34
analogous
#5A115C #5C1139 #5C1114
triadic
#5C1139 #395C11 #11395C
tetradic
#5C1139 #5C5A11 #115C34 #11145C
square
#5C1139 #5C5A11 #115C34 #11145C
split-complementary
#5C1139 #145C11 #115C5A
monochromatic
#1A0510 #280719 #5C1139 #901B59 #C32479

Accessibility & contrast

On white

13.17
#5C1139 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#5C1139 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1139
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1139#FFFFFF#000000##FFFFFF
##5C11391.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F273A
Deuteranopia (green-blind)
#343537
Tritanopia (blue-blind)
#640923
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5c1139;
/* rgb */ color: rgb(92, 17, 57);
/* oklch */ color: oklch(32.5% 0.114 353.0);
Tailwind
colors: {
  custom: {
    50: '#8e586f',
    500: '#5c1139',
    950: '#000000',
  },
}
SCSS
$custom: #5c1139;
$custom-light: #8e586f;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1139",
  "rgb": {
    "r": 92,
    "g": 17,
    "b": 57
  },
  "hsl": {
    "h": 328,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32478,
    "c": 0.11367,
    "h": 353
  },
  "luminance": 0.02972
}

Semantic roles & 50–950 ramp

primary
#5C1139
secondary
#349561
accent
#EC8E3C
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5C1139

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

Preview Lab → · Contrast checker → · Palette generator →

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