#5C1440#5C1440

#5C1440 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 33.1% C 0.114 H 347.7°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#5C1440
RGBrgb(92, 20, 64)
HSLhsl(323, 64%, 22%)
HSVhsv(323, 78%, 36%)
CMYKcmyk(0%, 78.3%, 30.4%, 63.9%)
CIE-LABlab(20.62, 36.59, -9.25)
CIE-LCHlch(20.62, 37.74, 345.82°)
OKLaboklab(33.08% 0.1113 -0.0244)
OKLCHoklch(33.08% 0.114 347.7)
XYZxyz(5.5895, 3.1464, 5.1625)
Luminance0.0315 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1440 #145C30
analogous
#54145C #5C1440 #5C141C
triadic
#5C1440 #405C14 #14405C
tetradic
#5C1440 #5C5414 #145C30 #141C5C
square
#5C1440 #5C5414 #145C30 #141C5C
split-complementary
#5C1440 #1C5C14 #145C54
monochromatic
#190511 #2A091D #5C1440 #8E1F63 #C12A86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C1440#FFFFFF#000000##FFFFFF
##5C14401.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)
#1E2A41
Deuteranopia (green-blind)
#33363E
Tritanopia (blue-blind)
#631128
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5c1440;
/* rgb */ color: rgb(92, 20, 64);
/* oklch */ color: oklch(33.1% 0.114 347.7);
Tailwind
colors: {
  custom: {
    50: '#8d5974',
    500: '#5c1440',
    950: '#000000',
  },
}
SCSS
$custom: #5c1440;
$custom-light: #8d5974;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1440",
  "rgb": {
    "r": 92,
    "g": 20,
    "b": 64
  },
  "hsl": {
    "h": 323.333,
    "s": 64.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33078,
    "c": 0.11397,
    "h": 347.7
  },
  "luminance": 0.03146
}

Semantic roles & 50–950 ramp

primary
#5C1440
secondary
#38945C
accent
#E78141
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0D0408
muted
#7D797B

Preview Lab

Preview with #5C1440

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

Preview Lab → · Contrast checker → · Palette generator →

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