#C42DA1#C42DA1

#C42DA1 is a mid, highly saturated pink. Relative luminance 0.162; OKLCH L 57.4% C 0.218 H 339.4°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#C42DA1
RGBrgb(196, 45, 161)
HSLhsl(314, 63%, 47%)
HSVhsv(314, 77%, 77%)
CMYKcmyk(0%, 77%, 17.9%, 23.1%)
CIE-LABlab(47.22, 68.45, -28.33)
CIE-LCHlch(47.22, 74.08, 337.52°)
OKLaboklab(57.4% 0.2039 -0.0767)
OKLCHoklch(57.4% 0.218 339.4)
XYZxyz(30.1372, 16.1888, 35.2489)
Luminance0.1619 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42DA1 #2DC450
analogous
#9B2DC4 #C42DA1 #C42D56
triadic
#C42DA1 #A1C42D #2DA1C4
tetradic
#C42DA1 #C49B2D #2DC450 #2D56C4
square
#C42DA1 #C49B2D #2DC450 #2D56C4
split-complementary
#C42DA1 #56C42D #2DC49B
monochromatic
#60164F #922278 #C42DA1 #D856BA #E488CE

Accessibility & contrast

On white

4.96
#C42DA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#C42DA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C42DA1
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42DA1#FFFFFF#000000##FFFFFF
##C42DA11.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3761A4
Deuteranopia (green-blind)
#6A789E
Tritanopia (blue-blind)
#CF3465
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c42da1;
/* rgb */ color: rgb(196, 45, 161);
/* oklch */ color: oklch(57.4% 0.218 339.4);
Tailwind
colors: {
  custom: {
    50: '#da76bd',
    500: '#c42da1',
    950: '#000000',
  },
}
SCSS
$custom: #c42da1;
$custom-light: #da76bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c42da1",
  "rgb": {
    "r": 196,
    "g": 45,
    "b": 161
  },
  "hsl": {
    "h": 313.907,
    "s": 62.656,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57395,
    "c": 0.21783,
    "h": 339.4
  },
  "luminance": 0.16186
}

Semantic roles & 50–950 ramp

primary
#C42DA1
secondary
#80CD92
accent
#E66842
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C42DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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