#C52478#C52478

#C52478 is a mid, highly saturated pink. Relative luminance 0.145; OKLCH L 55.2% C 0.205 H 355.1°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#C52478
RGBrgb(197, 36, 120)
HSLhsl(329, 69%, 46%)
HSVhsv(329, 82%, 77%)
CMYKcmyk(0%, 81.7%, 39.1%, 22.7%)
CIE-LABlab(44.93, 66.25, -6.98)
CIE-LCHlch(44.93, 66.62, 353.98°)
OKLaboklab(55.23% 0.204 -0.0176)
OKLCHoklch(55.23% 0.205 355.1)
XYZxyz(27.0489, 14.4917, 19.1385)
Luminance0.1449 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52478 #24C571
analogous
#C224C5 #C52478 #C52427
triadic
#C52478 #78C524 #2478C5
tetradic
#C52478 #C5C224 #24C571 #2427C5
square
#C52478 #C5C224 #24C571 #2427C5
split-complementary
#C52478 #27C524 #24C5C2
monochromatic
#5E1139 #911B58 #C52478 #DE4996 #E77CB4

Accessibility & contrast

On white

5.39
#C52478 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#C52478 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C52478
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52478#FFFFFF#000000##FFFFFF
##C524781.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48577A
Deuteranopia (green-blind)
#757574
Tritanopia (blue-blind)
#D5014C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c52478;
/* rgb */ color: rgb(197, 36, 120);
/* oklch */ color: oklch(55.2% 0.205 355.1);
Tailwind
colors: {
  custom: {
    50: '#dc729e',
    500: '#c52478',
    950: '#000000',
  },
}
SCSS
$custom: #c52478;
$custom-light: #dc729e;
$custom-dark: #000000;
JSON
{
  "hex": "#c52478",
  "rgb": {
    "r": 197,
    "g": 36,
    "b": 120
  },
  "hsl": {
    "h": 328.696,
    "s": 69.099,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55232,
    "c": 0.20471,
    "h": 355.1
  },
  "luminance": 0.14488
}

Semantic roles & 50–950 ramp

primary
#C52478
secondary
#76CFA0
accent
#EC903C
background
#FEF7F9
surface
#FCEDF2
border
#D5C8CC
text
#16090E
muted
#847B7E

Preview Lab

Preview with #C52478

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

Preview Lab → · Contrast checker → · Palette generator →

#C52478 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva