#C42778#C42778

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

Color values

HEX#C42778
RGBrgb(196, 39, 120)
HSLhsl(329, 67%, 46%)
HSVhsv(329, 80%, 77%)
CMYKcmyk(0%, 80.1%, 38.8%, 23.1%)
CIE-LABlab(45.01, 65.25, -6.89)
CIE-LCHlch(45.01, 65.61, 353.97°)
OKLaboklab(55.25% 0.2007 -0.0173)
OKLCHoklch(55.25% 0.201 355.1)
XYZxyz(26.8825, 14.5463, 19.1578)
Luminance0.1454 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42778 #27C473
analogous
#C127C4 #C42778 #C42729
triadic
#C42778 #78C427 #2778C4
tetradic
#C42778 #C4C127 #27C473 #2729C4
square
#C42778 #C4C127 #27C473 #2729C4
split-complementary
#C42778 #29C427 #27C4C1
monochromatic
#5E1339 #911D59 #C42778 #DC4D96 #E680B4

Accessibility & contrast

On white

5.37
#C42778 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#C42778 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C42778
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42778#FFFFFF#000000##FFFFFF
##C427781.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49587A
Deuteranopia (green-blind)
#757575
Tritanopia (blue-blind)
#D40B4D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c42778;
/* rgb */ color: rgb(196, 39, 120);
/* oklch */ color: oklch(55.3% 0.201 355.1);
Tailwind
colors: {
  custom: {
    50: '#db739e',
    500: '#c42778',
    950: '#000000',
  },
}
SCSS
$custom: #c42778;
$custom-light: #db739e;
$custom-dark: #000000;
JSON
{
  "hex": "#c42778",
  "rgb": {
    "r": 196,
    "g": 39,
    "b": 120
  },
  "hsl": {
    "h": 329.045,
    "s": 66.809,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55254,
    "c": 0.20149,
    "h": 355.1
  },
  "luminance": 0.14543
}

Semantic roles & 50–950 ramp

primary
#C42778
secondary
#79CEA2
accent
#EA913E
background
#FEF7F9
surface
#FCEDF2
border
#D5C8CC
text
#16090E
muted
#847B7E

Preview Lab

Preview with #C42778

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

Preview Lab → · Contrast checker → · Palette generator →

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