#C52878#C52878

#C52878 is a mid, highly saturated pink. Relative luminance 0.147; OKLCH L 55.5% C 0.201 H 355.4°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#C52878
RGBrgb(197, 40, 120)
HSLhsl(329, 66%, 46%)
HSVhsv(329, 80%, 77%)
CMYKcmyk(0%, 79.7%, 39.1%, 22.7%)
CIE-LABlab(45.29, 65.23, -6.45)
CIE-LCHlch(45.29, 65.55, 354.35°)
OKLaboklab(55.49% 0.2007 -0.0162)
OKLCHoklch(55.49% 0.201 355.4)
XYZxyz(27.1768, 14.7475, 19.1811)
Luminance0.1474 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52878 #28C575
analogous
#C428C5 #C52878 #C52829
triadic
#C52878 #78C528 #2878C5
tetradic
#C52878 #C5C428 #28C575 #2829C5
square
#C52878 #C5C428 #28C575 #2829C5
split-complementary
#C52878 #29C528 #28C5C4
monochromatic
#5F133A #921E59 #C52878 #DB4F96 #E682B5

Accessibility & contrast

On white

5.32
#C52878 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#C52878 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C52878
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52878#FFFFFF#000000##FFFFFF
##C528781.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A597A
Deuteranopia (green-blind)
#767675
Tritanopia (blue-blind)
#D50C4D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c52878;
/* rgb */ color: rgb(197, 40, 120);
/* oklch */ color: oklch(55.5% 0.201 355.4);
Tailwind
colors: {
  custom: {
    50: '#dc739e',
    500: '#c52878',
    950: '#000000',
  },
}
SCSS
$custom: #c52878;
$custom-light: #dc739e;
$custom-dark: #000000;
JSON
{
  "hex": "#c52878",
  "rgb": {
    "r": 197,
    "g": 40,
    "b": 120
  },
  "hsl": {
    "h": 329.427,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55492,
    "c": 0.20134,
    "h": 355.4
  },
  "luminance": 0.14744
}

Semantic roles & 50–950 ramp

primary
#C52878
secondary
#7ACEA4
accent
#E9923F
background
#FEF7F9
surface
#FCEDF2
border
#D5C8CC
text
#16090E
muted
#847B7E

Preview Lab

Preview with #C52878

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

Preview Lab → · Contrast checker → · Palette generator →

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