#C42DA2#C42DA2

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

Color values

HEX#C42DA2
RGBrgb(196, 45, 162)
HSLhsl(314, 63%, 47%)
HSVhsv(314, 77%, 77%)
CMYKcmyk(0%, 77%, 17.3%, 23.1%)
CIE-LABlab(47.27, 68.58, -28.85)
CIE-LCHlch(47.27, 74.40, 337.19°)
OKLaboklab(57.44% 0.204 -0.0782)
OKLCHoklch(57.44% 0.218 339)
XYZxyz(30.2257, 16.2242, 35.7152)
Luminance0.1622 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42DA2 #2DC44F
analogous
#9B2DC4 #C42DA2 #C42D56
triadic
#C42DA2 #A2C42D #2DA2C4
tetradic
#C42DA2 #C49B2D #2DC44F #2D56C4
square
#C42DA2 #C49B2D #2DC44F #2D56C4
split-complementary
#C42DA2 #56C42D #2DC49B
monochromatic
#601650 #922279 #C42DA2 #D856BB #E488CF

Accessibility & contrast

On white

4.95
#C42DA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C42DA2
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42DA2#FFFFFF#000000##FFFFFF
##C42DA21.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c42da2;
/* rgb */ color: rgb(196, 45, 162);
/* oklch */ color: oklch(57.4% 0.218 339.0);
Tailwind
colors: {
  custom: {
    50: '#da76be',
    500: '#c42da2',
    950: '#000000',
  },
}
SCSS
$custom: #c42da2;
$custom-light: #da76be;
$custom-dark: #000000;
JSON
{
  "hex": "#c42da2",
  "rgb": {
    "r": 196,
    "g": 45,
    "b": 162
  },
  "hsl": {
    "h": 313.51,
    "s": 62.656,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57444,
    "c": 0.21847,
    "h": 339
  },
  "luminance": 0.16221
}

Semantic roles & 50–950 ramp

primary
#C42DA2
secondary
#80CD91
accent
#E66742
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C42DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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