#C42AA0#C42AA0

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

Color values

HEX#C42AA0
RGBrgb(196, 42, 160)
HSLhsl(314, 65%, 47%)
HSVhsv(314, 79%, 77%)
CMYKcmyk(0%, 78.6%, 18.4%, 23.1%)
CIE-LABlab(46.89, 69.14, -28.25)
CIE-LCHlch(46.89, 74.69, 337.77°)
OKLaboklab(57.14% 0.2063 -0.0764)
OKLCHoklch(57.14% 0.22 339.7)
XYZxyz(29.9389, 15.9328, 34.7495)
Luminance0.1593 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42AA0 #2AC44E
analogous
#9B2AC4 #C42AA0 #C42A53
triadic
#C42AA0 #A0C42A #2AA0C4
tetradic
#C42AA0 #C49B2A #2AC44E #2A53C4
square
#C42AA0 #C49B2A #2AC44E #2A53C4
split-complementary
#C42AA0 #53C42A #2AC49B
monochromatic
#5F144E #921F77 #C42AA0 #DA51BA #E584CE

Accessibility & contrast

On white

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

On black

4.19
#C42AA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C42AA0#FFFFFF#000000##FFFFFF
##C42AA01.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3660A3
Deuteranopia (green-blind)
#69789D
Tritanopia (blue-blind)
#D03163
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c42aa0;
/* rgb */ color: rgb(196, 42, 160);
/* oklch */ color: oklch(57.1% 0.220 339.7);
Tailwind
colors: {
  custom: {
    50: '#da75bc',
    500: '#c42aa0',
    950: '#000000',
  },
}
SCSS
$custom: #c42aa0;
$custom-light: #da75bc;
$custom-dark: #000000;
JSON
{
  "hex": "#c42aa0",
  "rgb": {
    "r": 196,
    "g": 42,
    "b": 160
  },
  "hsl": {
    "h": 314.026,
    "s": 64.706,
    "l": 46.667
  },
  "oklch": {
    "l": 0.57139,
    "c": 0.22,
    "h": 339.7
  },
  "luminance": 0.1593
}

Semantic roles & 50–950 ramp

primary
#C42AA0
secondary
#7CCE8F
accent
#E86740
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C42AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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