#5C1240#5C1240

#5C1240 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.9% C 0.116 H 347.4°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#5C1240
RGBrgb(92, 18, 64)
HSLhsl(323, 67%, 22%)
HSVhsv(323, 80%, 36%)
CMYKcmyk(0%, 80.4%, 30.4%, 63.9%)
CIE-LABlab(20.36, 37.34, -9.65)
CIE-LCHlch(20.36, 38.56, 345.51°)
OKLaboklab(32.89% 0.1137 -0.0255)
OKLCHoklch(32.89% 0.116 347.4)
XYZxyz(5.5556, 3.0787, 5.1512)
Luminance0.0308 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1240 #125C2E
analogous
#53125C #5C1240 #5C121B
triadic
#5C1240 #405C12 #12405C
tetradic
#5C1240 #5C5312 #125C2E #121B5C
square
#5C1240 #5C5312 #125C2E #121B5C
split-complementary
#5C1240 #1B5C12 #125C53
monochromatic
#1A0512 #29081C #5C1240 #8F1C64 #C22687

Accessibility & contrast

On white

13.00
#5C1240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#5C1240 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1240
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1240#FFFFFF#000000##FFFFFF
##5C12401.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2941
Deuteranopia (green-blind)
#33363E
Tritanopia (blue-blind)
#630F27
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5c1240;
/* rgb */ color: rgb(92, 18, 64);
/* oklch */ color: oklch(32.9% 0.116 347.4);
Tailwind
colors: {
  custom: {
    50: '#8d5874',
    500: '#5c1240',
    950: '#000000',
  },
}
SCSS
$custom: #5c1240;
$custom-light: #8d5874;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1240",
  "rgb": {
    "r": 92,
    "g": 18,
    "b": 64
  },
  "hsl": {
    "h": 322.703,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32885,
    "c": 0.11648,
    "h": 347.4
  },
  "luminance": 0.03078
}

Semantic roles & 50–950 ramp

primary
#5C1240
secondary
#359459
accent
#EA7F3E
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5C1240

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

Preview Lab → · Contrast checker → · Palette generator →

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