#5C1138#5C1138

#5C1138 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.4% C 0.113 H 353.8°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#5C1138
RGBrgb(92, 17, 56)
HSLhsl(329, 69%, 21%)
HSVhsv(329, 82%, 36%)
CMYKcmyk(0%, 81.5%, 39.1%, 63.9%)
CIE-LABlab(19.89, 36.65, -4.78)
CIE-LCHlch(19.89, 36.96, 352.57°)
OKLaboklab(32.44% 0.1125 -0.0122)
OKLCHoklch(32.44% 0.113 353.8)
XYZxyz(5.3282, 2.9624, 4.0318)
Luminance0.0296 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1138 #115C35
analogous
#5B115C #5C1138 #5C1113
triadic
#5C1138 #385C11 #11385C
tetradic
#5C1138 #5C5B11 #115C35 #11135C
square
#5C1138 #5C5B11 #115C35 #11135C
split-complementary
#5C1138 #135C11 #115C5B
monochromatic
#1A0510 #280719 #5C1138 #901B57 #C32477

Accessibility & contrast

On white

13.19
#5C1138 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#5C1138 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1138
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1138#FFFFFF#000000##FFFFFF
##5C11381.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202739
Deuteranopia (green-blind)
#353536
Tritanopia (blue-blind)
#640923
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5c1138;
/* rgb */ color: rgb(92, 17, 56);
/* oklch */ color: oklch(32.4% 0.113 353.8);
Tailwind
colors: {
  custom: {
    50: '#8e586e',
    500: '#5c1138',
    950: '#000000',
  },
}
SCSS
$custom: #5c1138;
$custom-light: #8e586e;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1138",
  "rgb": {
    "r": 92,
    "g": 17,
    "b": 56
  },
  "hsl": {
    "h": 328.8,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32436,
    "c": 0.11317,
    "h": 353.8
  },
  "luminance": 0.02962
}

Semantic roles & 50–950 ramp

primary
#5C1138
secondary
#349562
accent
#EC903C
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5C1138

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

Preview Lab → · Contrast checker → · Palette generator →

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