#5C1540#5C1540

#5C1540 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.2% C 0.113 H 347.8°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#5C1540
RGBrgb(92, 21, 64)
HSLhsl(324, 63%, 22%)
HSVhsv(324, 77%, 36%)
CMYKcmyk(0%, 77.2%, 30.4%, 63.9%)
CIE-LABlab(20.76, 36.20, -9.04)
CIE-LCHlch(20.76, 37.31, 345.98°)
OKLaboklab(33.18% 0.1101 -0.0238)
OKLCHoklch(33.18% 0.113 347.8)
XYZxyz(5.6075, 3.1824, 5.1685)
Luminance0.0318 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1540 #155C31
analogous
#55155C #5C1540 #5C151D
triadic
#5C1540 #405C15 #15405C
tetradic
#5C1540 #5C5515 #155C31 #151D5C
square
#5C1540 #5C5515 #155C31 #151D5C
split-complementary
#5C1540 #1D5C15 #155C55
monochromatic
#190611 #2A0A1D #5C1540 #8E2063 #C02C85

Accessibility & contrast

On white

12.83
#5C1540 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#5C1540 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1540
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1540#FFFFFF#000000##FFFFFF
##5C15401.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2A41
Deuteranopia (green-blind)
#34363E
Tritanopia (blue-blind)
#631228
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5c1540;
/* rgb */ color: rgb(92, 21, 64);
/* oklch */ color: oklch(33.2% 0.113 347.8);
Tailwind
colors: {
  custom: {
    50: '#8d5a74',
    500: '#5c1540',
    950: '#000000',
  },
}
SCSS
$custom: #5c1540;
$custom-light: #8d5a74;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1540",
  "rgb": {
    "r": 92,
    "g": 21,
    "b": 64
  },
  "hsl": {
    "h": 323.662,
    "s": 62.832,
    "l": 22.157
  },
  "oklch": {
    "l": 0.33179,
    "c": 0.11265,
    "h": 347.8
  },
  "luminance": 0.03182
}

Semantic roles & 50–950 ramp

primary
#5C1540
secondary
#39935D
accent
#E68342
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0D0408
muted
#7D797B

Preview Lab

Preview with #5C1540

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

Preview Lab → · Contrast checker → · Palette generator →

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