#5C1232#5C1232

#5C1232 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.3% C 0.109 H 359.3°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#5C1232
RGBrgb(92, 18, 50)
HSLhsl(334, 67%, 22%)
HSVhsv(334, 80%, 36%)
CMYKcmyk(0%, 80.4%, 45.7%, 63.9%)
CIE-LABlab(19.80, 35.59, -0.70)
CIE-LCHlch(19.80, 35.59, 358.87°)
OKLaboklab(32.29% 0.1093 -0.0014)
OKLCHoklch(32.29% 0.109 359.3)
XYZxyz(5.2061, 2.9389, 3.3101)
Luminance0.0294 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1232 #125C3C
analogous
#5C1257 #5C1232 #5C1712
triadic
#5C1232 #325C12 #12325C
tetradic
#5C1232 #575C12 #125C3C #17125C
square
#5C1232 #575C12 #125C3C #17125C
split-complementary
#5C1232 #125C17 #12575C
monochromatic
#1A050E #290816 #5C1232 #8F1C4E #C2266A

Accessibility & contrast

On white

13.23
#5C1232 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C1232
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1232#FFFFFF#000000##FFFFFF
##5C12321.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222733
Deuteranopia (green-blind)
#363530
Tritanopia (blue-blind)
#640620
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5c1232;
/* rgb */ color: rgb(92, 18, 50);
/* oklch */ color: oklch(32.3% 0.109 359.3);
Tailwind
colors: {
  custom: {
    50: '#8e5869',
    500: '#5c1232',
    950: '#000000',
  },
}
SCSS
$custom: #5c1232;
$custom-light: #8e5869;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1232",
  "rgb": {
    "r": 92,
    "g": 18,
    "b": 50
  },
  "hsl": {
    "h": 334.054,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32293,
    "c": 0.10928,
    "h": 359.3
  },
  "luminance": 0.02938
}

Semantic roles & 50–950 ramp

primary
#5C1232
secondary
#35946B
accent
#EAA03E
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5C1232

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

Preview Lab → · Contrast checker → · Palette generator →

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