#C42779#C42779

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

Color values

HEX#C42779
RGBrgb(196, 39, 121)
HSLhsl(329, 67%, 46%)
HSVhsv(329, 80%, 77%)
CMYKcmyk(0%, 80.1%, 38.3%, 23.1%)
CIE-LABlab(45.04, 65.35, -7.45)
CIE-LCHlch(45.04, 65.77, 353.50°)
OKLaboklab(55.29% 0.201 -0.0188)
OKLCHoklch(55.29% 0.202 354.6)
XYZxyz(26.9435, 14.5707, 19.4791)
Luminance0.1457 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42779 #27C472
analogous
#C027C4 #C42779 #C4272B
triadic
#C42779 #79C427 #2779C4
tetradic
#C42779 #C4C027 #27C472 #272BC4
square
#C42779 #C4C027 #27C472 #272BC4
split-complementary
#C42779 #2BC427 #27C4C0
monochromatic
#5E133A #911D59 #C42779 #DC4D97 #E680B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C42779#FFFFFF#000000##FFFFFF
##C427791.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)
#49587B
Deuteranopia (green-blind)
#757576
Tritanopia (blue-blind)
#D40C4D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c42779;
/* rgb */ color: rgb(196, 39, 121);
/* oklch */ color: oklch(55.3% 0.202 354.6);
Tailwind
colors: {
  custom: {
    50: '#db739f',
    500: '#c42779',
    950: '#000000',
  },
}
SCSS
$custom: #c42779;
$custom-light: #db739f;
$custom-dark: #000000;
JSON
{
  "hex": "#c42779",
  "rgb": {
    "r": 196,
    "g": 39,
    "b": 121
  },
  "hsl": {
    "h": 328.662,
    "s": 66.809,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5529,
    "c": 0.2019,
    "h": 354.6
  },
  "luminance": 0.14567
}

Semantic roles & 50–950 ramp

primary
#C42779
secondary
#79CEA1
accent
#EA903E
background
#FEF7F9
surface
#FCEDF2
border
#D5C8CC
text
#16090E
muted
#847B7E

Preview Lab

Preview with #C42779

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

Preview Lab → · Contrast checker → · Palette generator →

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