#C42879#C42879

#C42879 is a mid, highly saturated pink. Relative luminance 0.146; OKLCH L 55.4% C 0.201 H 354.7°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#C42879
RGBrgb(196, 40, 121)
HSLhsl(329, 66%, 46%)
HSVhsv(329, 80%, 77%)
CMYKcmyk(0%, 79.6%, 38.3%, 23.1%)
CIE-LABlab(45.13, 65.08, -7.31)
CIE-LCHlch(45.13, 65.49, 353.59°)
OKLaboklab(55.36% 0.2002 -0.0185)
OKLCHoklch(55.36% 0.201 354.7)
XYZxyz(26.9768, 14.6373, 19.4901)
Luminance0.1463 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42879 #28C473
analogous
#C128C4 #C42879 #C4282B
triadic
#C42879 #79C428 #2879C4
tetradic
#C42879 #C4C128 #28C473 #282BC4
square
#C42879 #C4C128 #28C473 #282BC4
split-complementary
#C42879 #2BC428 #28C4C1
monochromatic
#5E133A #911E5A #C42879 #DB4E97 #E581B5

Accessibility & contrast

On white

5.35
#C42879 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#C42879 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C42879
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42879#FFFFFF#000000##FFFFFF
##C428791.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49597B
Deuteranopia (green-blind)
#757576
Tritanopia (blue-blind)
#D40F4E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c42879;
/* rgb */ color: rgb(196, 40, 121);
/* oklch */ color: oklch(55.4% 0.201 354.7);
Tailwind
colors: {
  custom: {
    50: '#db739f',
    500: '#c42879',
    950: '#000000',
  },
}
SCSS
$custom: #c42879;
$custom-light: #db739f;
$custom-dark: #000000;
JSON
{
  "hex": "#c42879",
  "rgb": {
    "r": 196,
    "g": 40,
    "b": 121
  },
  "hsl": {
    "h": 328.846,
    "s": 66.102,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55357,
    "c": 0.20103,
    "h": 354.7
  },
  "luminance": 0.14634
}

Semantic roles & 50–950 ramp

primary
#C42879
secondary
#7ACEA2
accent
#E9913F
background
#FEF7F9
surface
#FCEDF2
border
#D5C8CC
text
#16090E
muted
#847B7E

Preview Lab

Preview with #C42879

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

Preview Lab → · Contrast checker → · Palette generator →

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