#C42D99#C42D99

#C42D99 is a mid, highly saturated pink. Relative luminance 0.159; OKLCH L 57.0% C 0.213 H 342.3°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#C42D99
RGBrgb(196, 45, 153)
HSLhsl(317, 63%, 47%)
HSVhsv(317, 77%, 77%)
CMYKcmyk(0%, 77%, 21.9%, 23.1%)
CIE-LABlab(46.86, 67.39, -24.10)
CIE-LCHlch(46.86, 71.57, 340.32°)
OKLaboklab(57.02% 0.2028 -0.0647)
OKLCHoklch(57.02% 0.213 342.3)
XYZxyz(29.4542, 15.9155, 31.6517)
Luminance0.1591 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42D99 #2DC458
analogous
#A42DC4 #C42D99 #C42D4E
triadic
#C42D99 #99C42D #2D99C4
tetradic
#C42D99 #C4A42D #2DC458 #2D4EC4
square
#C42D99 #C4A42D #2DC458 #2D4EC4
split-complementary
#C42D99 #4EC42D #2DC4A4
monochromatic
#60164B #922272 #C42D99 #D856B3 #E488C9

Accessibility & contrast

On white

5.02
#C42D99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#C42D99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C42D99
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42D99#FFFFFF#000000##FFFFFF
##C42D991.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5F9C
Deuteranopia (green-blind)
#6D7896
Tritanopia (blue-blind)
#D02F60
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c42d99;
/* rgb */ color: rgb(196, 45, 153);
/* oklch */ color: oklch(57.0% 0.213 342.3);
Tailwind
colors: {
  custom: {
    50: '#da76b7',
    500: '#c42d99',
    950: '#000000',
  },
}
SCSS
$custom: #c42d99;
$custom-light: #da76b7;
$custom-dark: #000000;
JSON
{
  "hex": "#c42d99",
  "rgb": {
    "r": 196,
    "g": 45,
    "b": 153
  },
  "hsl": {
    "h": 317.086,
    "s": 62.656,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5702,
    "c": 0.21288,
    "h": 342.3
  },
  "luminance": 0.15912
}

Semantic roles & 50–950 ramp

primary
#C42D99
secondary
#80CD96
accent
#E67142
background
#FEF7FB
surface
#FCEEF6
border
#D5C9D0
text
#150A11
muted
#847C80

Preview Lab

Preview with #C42D99

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

Preview Lab → · Contrast checker → · Palette generator →

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