#C42C81#C42C81

#C42C81 is a mid, highly saturated pink. Relative luminance 0.151; OKLCH L 55.9% C 0.201 H 351.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#C42C81
RGBrgb(196, 44, 129)
HSLhsl(326, 63%, 47%)
HSVhsv(326, 78%, 77%)
CMYKcmyk(0%, 77.6%, 34.2%, 23.1%)
CIE-LABlab(45.81, 64.82, -11.20)
CIE-LCHlch(45.81, 65.78, 350.19°)
OKLaboklab(55.94% 0.1988 -0.029)
OKLCHoklch(55.94% 0.201 351.7)
XYZxyz(27.6298, 15.1255, 22.2291)
Luminance0.1512 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42C81 #2CC46F
analogous
#BB2CC4 #C42C81 #C42C35
triadic
#C42C81 #81C42C #2C81C4
tetradic
#C42C81 #C4BB2C #2CC46F #2C35C4
square
#C42C81 #C4BB2C #2CC46F #2C35C4
split-complementary
#C42C81 #35C42C #2CC4BB
monochromatic
#60163F #922160 #C42C81 #D9549E #E486BB

Accessibility & contrast

On white

5.22
#C42C81 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#C42C81 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C42C81
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42C81#FFFFFF#000000##FFFFFF
##C42C811.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485B83
Deuteranopia (green-blind)
#74767E
Tritanopia (blue-blind)
#D31D53
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c42c81;
/* rgb */ color: rgb(196, 44, 129);
/* oklch */ color: oklch(55.9% 0.201 351.7);
Tailwind
colors: {
  custom: {
    50: '#db75a5',
    500: '#c42c81',
    950: '#000000',
  },
}
SCSS
$custom: #c42c81;
$custom-light: #db75a5;
$custom-dark: #000000;
JSON
{
  "hex": "#c42c81",
  "rgb": {
    "r": 196,
    "g": 44,
    "b": 129
  },
  "hsl": {
    "h": 326.447,
    "s": 63.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.5594,
    "c": 0.20089,
    "h": 351.7
  },
  "luminance": 0.15122
}

Semantic roles & 50–950 ramp

primary
#C42C81
secondary
#7ECDA1
accent
#E68A41
background
#FEF7FA
surface
#FCEEF4
border
#D5C9CE
text
#16090F
muted
#847B7F

Preview Lab

Preview with #C42C81

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

Preview Lab → · Contrast checker → · Palette generator →

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