#5C1249#5C1249

#5C1249 is a dark, vivid pink. Relative luminance 0.032; OKLCH L 33.3% C 0.123 H 340.5°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#5C1249
RGBrgb(92, 18, 73)
HSLhsl(315, 67%, 22%)
HSVhsv(315, 80%, 36%)
CMYKcmyk(0%, 80.4%, 20.7%, 63.9%)
CIE-LABlab(20.79, 38.65, -15.18)
CIE-LCHlch(20.79, 41.53, 338.56°)
OKLaboklab(33.34% 0.1155 -0.0409)
OKLCHoklch(33.34% 0.123 340.5)
XYZxyz(5.8327, 3.1895, 6.6105)
Luminance0.0319 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1249 #125C25
analogous
#4A125C #5C1249 #5C1224
triadic
#5C1249 #495C12 #12495C
tetradic
#5C1249 #5C4A12 #125C25 #12245C
square
#5C1249 #5C4A12 #125C25 #12245C
split-complementary
#5C1249 #245C12 #125C4A
monochromatic
#1A0514 #290820 #5C1249 #8F1C72 #C2269A

Accessibility & contrast

On white

12.82
#5C1249 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#5C1249 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1249
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1249#FFFFFF#000000##FFFFFF
##5C12491.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182A4A
Deuteranopia (green-blind)
#303647
Tritanopia (blue-blind)
#62142C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5c1249;
/* rgb */ color: rgb(92, 18, 73);
/* oklch */ color: oklch(33.3% 0.123 340.5);
Tailwind
colors: {
  custom: {
    50: '#8d597c',
    500: '#5c1249',
    950: '#000000',
  },
}
SCSS
$custom: #5c1249;
$custom-light: #8d597c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1249",
  "rgb": {
    "r": 92,
    "g": 18,
    "b": 73
  },
  "hsl": {
    "h": 315.405,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33339,
    "c": 0.12255,
    "h": 340.5
  },
  "luminance": 0.03189
}

Semantic roles & 50–950 ramp

primary
#5C1249
secondary
#35944E
accent
#EA6A3E
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0D0409
muted
#7D797B

Preview Lab

Preview with #5C1249

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

Preview Lab → · Contrast checker → · Palette generator →

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