#5C1340#5C1340

#5C1340 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 33.0% C 0.115 H 347.5°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#5C1340
RGBrgb(92, 19, 64)
HSLhsl(323, 66%, 22%)
HSVhsv(323, 79%, 36%)
CMYKcmyk(0%, 79.3%, 30.4%, 63.9%)
CIE-LABlab(20.49, 36.97, -9.45)
CIE-LCHlch(20.49, 38.16, 345.66°)
OKLaboklab(32.98% 0.1125 -0.0249)
OKLCHoklch(32.98% 0.115 347.5)
XYZxyz(5.5722, 3.1118, 5.1567)
Luminance0.0311 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1340 #135C2F
analogous
#54135C #5C1340 #5C131B
triadic
#5C1340 #405C13 #13405C
tetradic
#5C1340 #5C5413 #135C2F #131B5C
square
#5C1340 #5C5413 #135C2F #131B5C
split-complementary
#5C1340 #1B5C13 #135C54
monochromatic
#190512 #29091D #5C1340 #8F1D63 #C12887

Accessibility & contrast

On white

12.95
#5C1340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C1340
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1340#FFFFFF#000000##FFFFFF
##5C13401.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2941
Deuteranopia (green-blind)
#33363E
Tritanopia (blue-blind)
#631027
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5c1340;
/* rgb */ color: rgb(92, 19, 64);
/* oklch */ color: oklch(33.0% 0.115 347.5);
Tailwind
colors: {
  custom: {
    50: '#8d5974',
    500: '#5c1340',
    950: '#000000',
  },
}
SCSS
$custom: #5c1340;
$custom-light: #8d5974;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1340",
  "rgb": {
    "r": 92,
    "g": 19,
    "b": 64
  },
  "hsl": {
    "h": 323.014,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.3298,
    "c": 0.11524,
    "h": 347.5
  },
  "luminance": 0.03111
}

Semantic roles & 50–950 ramp

primary
#5C1340
secondary
#37945B
accent
#E9803F
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0D0408
muted
#7D797B

Preview Lab

Preview with #5C1340

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

Preview Lab → · Contrast checker → · Palette generator →

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