#5C1241#5C1241

#5C1241 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.9% C 0.117 H 346.6°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#5C1241
RGBrgb(92, 18, 65)
HSLhsl(322, 67%, 22%)
HSVhsv(322, 80%, 36%)
CMYKcmyk(0%, 80.4%, 29.3%, 63.9%)
CIE-LABlab(20.40, 37.47, -10.27)
CIE-LCHlch(20.40, 38.86, 344.67°)
OKLaboklab(32.93% 0.1139 -0.0272)
OKLCHoklch(32.93% 0.117 346.6)
XYZxyz(5.5843, 3.0902, 5.3024)
Luminance0.0309 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1241 #125C2D
analogous
#52125C #5C1241 #5C121C
triadic
#5C1241 #415C12 #12415C
tetradic
#5C1241 #5C5212 #125C2D #121C5C
square
#5C1241 #5C5212 #125C2D #121C5C
split-complementary
#5C1241 #1C5C12 #125C52
monochromatic
#1A0512 #29081D #5C1241 #8F1C65 #C22689

Accessibility & contrast

On white

12.98
#5C1241 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#5C1241 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1241
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1241#FFFFFF#000000##FFFFFF
##5C12411.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2942
Deuteranopia (green-blind)
#32363F
Tritanopia (blue-blind)
#631028
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5c1241;
/* rgb */ color: rgb(92, 18, 65);
/* oklch */ color: oklch(32.9% 0.117 346.6);
Tailwind
colors: {
  custom: {
    50: '#8d5875',
    500: '#5c1241',
    950: '#000000',
  },
}
SCSS
$custom: #5c1241;
$custom-light: #8d5875;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1241",
  "rgb": {
    "r": 92,
    "g": 18,
    "b": 65
  },
  "hsl": {
    "h": 321.892,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32932,
    "c": 0.1171,
    "h": 346.6
  },
  "luminance": 0.0309
}

Semantic roles & 50–950 ramp

primary
#5C1241
secondary
#359458
accent
#EA7D3E
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5C1241

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

Preview Lab → · Contrast checker → · Palette generator →

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