#5C1131#5C1131

#5C1131 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.2% C 0.110 H 359.9°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#5C1131
RGBrgb(92, 17, 49)
HSLhsl(334, 69%, 21%)
HSVhsv(334, 82%, 36%)
CMYKcmyk(0%, 81.5%, 46.7%, 63.9%)
CIE-LABlab(19.63, 35.84, -0.23)
CIE-LCHlch(19.63, 35.84, 359.62°)
OKLaboklab(32.16% 0.1101 -0.0002)
OKLCHoklch(32.16% 0.11 359.9)
XYZxyz(5.1689, 2.8986, 3.1924)
Luminance0.0290 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1131 #115C3C
analogous
#5C1157 #5C1131 #5C1711
triadic
#5C1131 #315C11 #11315C
tetradic
#5C1131 #575C11 #115C3C #17115C
square
#5C1131 #575C11 #115C3C #17115C
split-complementary
#5C1131 #115C17 #11575C
monochromatic
#1A050E #280715 #5C1131 #901B4D #C32468

Accessibility & contrast

On white

13.29
#5C1131 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C1131
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1131#FFFFFF#000000##FFFFFF
##5C11311.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222632
Deuteranopia (green-blind)
#36352F
Tritanopia (blue-blind)
#64041F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5c1131;
/* rgb */ color: rgb(92, 17, 49);
/* oklch */ color: oklch(32.2% 0.110 359.9);
Tailwind
colors: {
  custom: {
    50: '#8e5768',
    500: '#5c1131',
    950: '#000000',
  },
}
SCSS
$custom: #5c1131;
$custom-light: #8e5768;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1131",
  "rgb": {
    "r": 92,
    "g": 17,
    "b": 49
  },
  "hsl": {
    "h": 334.4,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32161,
    "c": 0.11007,
    "h": 359.9
  },
  "luminance": 0.02898
}

Semantic roles & 50–950 ramp

primary
#5C1131
secondary
#34956B
accent
#ECA13C
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0306
muted
#7E787A

Preview Lab

Preview with #5C1131

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

Preview Lab → · Contrast checker → · Palette generator →

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