#C52879#C52879

#C52879 is a mid, highly saturated pink. Relative luminance 0.148; OKLCH L 55.5% C 0.202 H 355.0°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#C52879
RGBrgb(197, 40, 121)
HSLhsl(329, 66%, 46%)
HSVhsv(329, 80%, 77%)
CMYKcmyk(0%, 79.7%, 38.6%, 22.7%)
CIE-LABlab(45.32, 65.33, -7.01)
CIE-LCHlch(45.32, 65.71, 353.87°)
OKLaboklab(55.53% 0.201 -0.0177)
OKLCHoklch(55.53% 0.202 355)
XYZxyz(27.2378, 14.7719, 19.5024)
Luminance0.1477 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52879 #28C574
analogous
#C328C5 #C52879 #C5282A
triadic
#C52879 #79C528 #2879C5
tetradic
#C52879 #C5C328 #28C574 #282AC5
square
#C52879 #C5C328 #28C574 #282AC5
split-complementary
#C52879 #2AC528 #28C5C3
monochromatic
#5F133B #921E5A #C52879 #DB4F97 #E682B5

Accessibility & contrast

On white

5.31
#C52879 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C52879
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52879#FFFFFF#000000##FFFFFF
##C528791.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A597B
Deuteranopia (green-blind)
#767676
Tritanopia (blue-blind)
#D50D4E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c52879;
/* rgb */ color: rgb(197, 40, 121);
/* oklch */ color: oklch(55.5% 0.202 355.0);
Tailwind
colors: {
  custom: {
    50: '#dc739f',
    500: '#c52879',
    950: '#000000',
  },
}
SCSS
$custom: #c52879;
$custom-light: #dc739f;
$custom-dark: #000000;
JSON
{
  "hex": "#c52879",
  "rgb": {
    "r": 197,
    "g": 40,
    "b": 121
  },
  "hsl": {
    "h": 329.045,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55528,
    "c": 0.20176,
    "h": 355
  },
  "luminance": 0.14768
}

Semantic roles & 50–950 ramp

primary
#C52879
secondary
#7ACEA3
accent
#E9913F
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#16090E
muted
#847B7E

Preview Lab

Preview with #C52879

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

Preview Lab → · Contrast checker → · Palette generator →

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