#5C1048#5C1048

#5C1048 is a dark, vivid pink. Relative luminance 0.031; OKLCH L 33.1% C 0.124 H 341.1°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#5C1048
RGBrgb(92, 16, 72)
HSLhsl(316, 70%, 21%)
HSVhsv(316, 83%, 36%)
CMYKcmyk(0%, 82.6%, 21.7%, 63.9%)
CIE-LABlab(20.50, 39.18, -14.95)
CIE-LCHlch(20.50, 41.94, 339.12°)
OKLaboklab(33.11% 0.1174 -0.0403)
OKLCHoklch(33.11% 0.124 341.1)
XYZxyz(5.7688, 3.1144, 6.4270)
Luminance0.0311 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1048 #105C24
analogous
#4A105C #5C1048 #5C1022
triadic
#5C1048 #485C10 #10485C
tetradic
#5C1048 #5C4A10 #105C24 #10225C
square
#5C1048 #5C4A10 #105C24 #10225C
split-complementary
#5C1048 #225C10 #105C4A
monochromatic
#1A0514 #28071F #5C1048 #901971 #C4229A

Accessibility & contrast

On white

12.94
#5C1048 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C1048
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1048#FFFFFF#000000##FFFFFF
##5C10481.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172A49
Deuteranopia (green-blind)
#303646
Tritanopia (blue-blind)
#62122B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5c1048;
/* rgb */ color: rgb(92, 16, 72);
/* oklch */ color: oklch(33.1% 0.124 341.1);
Tailwind
colors: {
  custom: {
    50: '#8d587b',
    500: '#5c1048',
    950: '#000000',
  },
}
SCSS
$custom: #5c1048;
$custom-light: #8d587b;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1048",
  "rgb": {
    "r": 92,
    "g": 16,
    "b": 72
  },
  "hsl": {
    "h": 315.789,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.33111,
    "c": 0.12415,
    "h": 341.1
  },
  "luminance": 0.03114
}

Semantic roles & 50–950 ramp

primary
#5C1048
secondary
#33954D
accent
#ED6A3B
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0D0409
muted
#7D797B

Preview Lab

Preview with #5C1048

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

Preview Lab → · Contrast checker → · Palette generator →

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