#C42978#C42978

#C42978 is a mid, vivid pink. Relative luminance 0.147; OKLCH L 55.4% C 0.200 H 355.2°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#C42978
RGBrgb(196, 41, 120)
HSLhsl(329, 65%, 46%)
HSVhsv(329, 79%, 77%)
CMYKcmyk(0%, 79.1%, 38.8%, 23.1%)
CIE-LABlab(45.19, 64.71, -6.61)
CIE-LCHlch(45.19, 65.05, 354.17°)
OKLaboklab(55.39% 0.199 -0.0166)
OKLCHoklch(55.39% 0.2 355.2)
XYZxyz(26.9499, 14.6812, 19.1802)
Luminance0.1468 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42978 #29C475
analogous
#C329C4 #C42978 #C4292B
triadic
#C42978 #78C429 #2978C4
tetradic
#C42978 #C4C329 #29C475 #292BC4
square
#C42978 #C4C329 #29C475 #292BC4
split-complementary
#C42978 #2BC429 #29C4C3
monochromatic
#5F143A #911E59 #C42978 #DA5096 #E582B5

Accessibility & contrast

On white

5.34
#C42978 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#C42978 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C42978
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42978#FFFFFF#000000##FFFFFF
##C429781.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c42978;
/* rgb */ color: rgb(196, 41, 120);
/* oklch */ color: oklch(55.4% 0.200 355.2);
Tailwind
colors: {
  custom: {
    50: '#db749e',
    500: '#c42978',
    950: '#000000',
  },
}
SCSS
$custom: #c42978;
$custom-light: #db749e;
$custom-dark: #000000;
JSON
{
  "hex": "#c42978",
  "rgb": {
    "r": 196,
    "g": 41,
    "b": 120
  },
  "hsl": {
    "h": 329.419,
    "s": 65.401,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55391,
    "c": 0.19972,
    "h": 355.2
  },
  "luminance": 0.14678
}

Semantic roles & 50–950 ramp

primary
#C42978
secondary
#7BCEA4
accent
#E8923F
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#16090E
muted
#847B7E

Preview Lab

Preview with #C42978

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

Preview Lab → · Contrast checker → · Palette generator →

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