#5C1328#5C1328

#5C1328 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.1% C 0.105 H 8.6°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#5C1328
RGBrgb(92, 19, 40)
HSLhsl(343, 66%, 22%)
HSVhsv(343, 79%, 36%)
CMYKcmyk(0%, 79.3%, 56.5%, 63.9%)
CIE-LABlab(19.62, 34.19, 6.12)
CIE-LCHlch(19.62, 34.74, 10.14°)
OKLaboklab(32.06% 0.104 0.0157)
OKLCHoklch(32.06% 0.105 8.6)
XYZxyz(5.0300, 2.8950, 2.3010)
Luminance0.0289 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1328 #135C47
analogous
#5C134D #5C1328 #5C2313
triadic
#5C1328 #285C13 #13285C
tetradic
#5C1328 #4D5C13 #135C47 #23135C
square
#5C1328 #4D5C13 #135C47 #23135C
split-complementary
#5C1328 #135C23 #134D5C
monochromatic
#19050B #290912 #5C1328 #8F1D3E #C12854

Accessibility & contrast

On white

13.30
#5C1328 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#5C1328 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1328
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1328#FFFFFF#000000##FFFFFF
##5C13281.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252628
Deuteranopia (green-blind)
#383526
Tritanopia (blue-blind)
#65031C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5c1328;
/* rgb */ color: rgb(92, 19, 40);
/* oklch */ color: oklch(32.1% 0.105 8.6);
Tailwind
colors: {
  custom: {
    50: '#8f5861',
    500: '#5c1328',
    950: '#000000',
  },
}
SCSS
$custom: #5c1328;
$custom-light: #8f5861;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1328",
  "rgb": {
    "r": 92,
    "g": 19,
    "b": 40
  },
  "hsl": {
    "h": 342.74,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32058,
    "c": 0.10518,
    "h": 8.6
  },
  "luminance": 0.02894
}

Semantic roles & 50–950 ramp

primary
#5C1328
secondary
#379479
accent
#E9B83F
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0405
muted
#7E7979

Preview Lab

Preview with #5C1328

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

Preview Lab → · Contrast checker → · Palette generator →

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