#C42579#C42579

#C42579 is a mid, highly saturated pink. Relative luminance 0.144; OKLCH L 55.2% C 0.204 H 354.5°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#C42579
RGBrgb(196, 37, 121)
HSLhsl(328, 68%, 46%)
HSVhsv(328, 81%, 77%)
CMYKcmyk(0%, 81.1%, 38.3%, 23.1%)
CIE-LABlab(44.86, 65.86, -7.72)
CIE-LCHlch(44.86, 66.31, 353.32°)
OKLaboklab(55.16% 0.2027 -0.0196)
OKLCHoklch(55.16% 0.204 354.5)
XYZxyz(26.8796, 14.4428, 19.4577)
Luminance0.1444 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42579 #25C470
analogous
#BF25C4 #C42579 #C42529
triadic
#C42579 #79C425 #2579C4
tetradic
#C42579 #C4BF25 #25C470 #2529C4
square
#C42579 #C4BF25 #25C470 #2529C4
split-complementary
#C42579 #29C425 #25C4BF
monochromatic
#5D1239 #911B59 #C42579 #DD4997 #E67DB5

Accessibility & contrast

On white

5.40
#C42579 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#C42579 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C42579
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42579#FFFFFF#000000##FFFFFF
##C425791.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48587B
Deuteranopia (green-blind)
#747475
Tritanopia (blue-blind)
#D4074D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c42579;
/* rgb */ color: rgb(196, 37, 121);
/* oklch */ color: oklch(55.2% 0.204 354.5);
Tailwind
colors: {
  custom: {
    50: '#db729f',
    500: '#c42579',
    950: '#000000',
  },
}
SCSS
$custom: #c42579;
$custom-light: #db729f;
$custom-dark: #000000;
JSON
{
  "hex": "#c42579",
  "rgb": {
    "r": 196,
    "g": 37,
    "b": 121
  },
  "hsl": {
    "h": 328.302,
    "s": 68.24,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55159,
    "c": 0.2036,
    "h": 354.5
  },
  "luminance": 0.14439
}

Semantic roles & 50–950 ramp

primary
#C42579
secondary
#76CFA0
accent
#EB8F3D
background
#FEF7F9
surface
#FCEDF2
border
#D5C8CC
text
#16090E
muted
#847B7E

Preview Lab

Preview with #C42579

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

Preview Lab → · Contrast checker → · Palette generator →

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