#CC42A0#CC42A0

#CC42A0 is a mid, vivid pink. Relative luminance 0.193; OKLCH L 60.4% C 0.199 H 343.0°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#CC42A0
RGBrgb(204, 66, 160)
HSLhsl(319, 58%, 53%)
HSVhsv(319, 68%, 80%)
CMYKcmyk(0%, 67.6%, 21.6%, 20%)
CIE-LABlab(51.01, 63.29, -21.76)
CIE-LCHlch(51.01, 66.93, 341.02°)
OKLaboklab(60.39% 0.19 -0.0582)
OKLCHoklch(60.39% 0.199 343)
XYZxyz(33.1963, 19.2751, 35.2231)
Luminance0.1927 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC42A0 #42CC6E
analogous
#B342CC #CC42A0 #CC425B
triadic
#CC42A0 #A0CC42 #42A0CC
tetradic
#CC42A0 #CCB342 #42CC6E #425BCC
square
#CC42A0 #CCB342 #42CC6E #425BCC
split-complementary
#CC42A0 #5BCC42 #42CCB3
monochromatic
#741F59 #A42C7E #CC42A0 #D972B8 #E6A2D0

Accessibility & contrast

On white

4.33
#CC42A0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#CC42A0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC42A0
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC42A0#FFFFFF#000000##000000
##CC42A01.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F6BA3
Deuteranopia (green-blind)
#78829D
Tritanopia (blue-blind)
#D9426B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc42a0;
/* rgb */ color: rgb(204, 66, 160);
/* oklch */ color: oklch(60.4% 0.199 343.0);
Tailwind
colors: {
  custom: {
    50: '#df81bc',
    500: '#cc42a0',
    950: '#000000',
  },
}
SCSS
$custom: #cc42a0;
$custom-light: #df81bc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc42a0",
  "rgb": {
    "r": 204,
    "g": 66,
    "b": 160
  },
  "hsl": {
    "h": 319.13,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60385,
    "c": 0.19872,
    "h": 343
  },
  "luminance": 0.19272
}

Semantic roles & 50–950 ramp

primary
#CC42A0
secondary
#97D3AA
accent
#E17847
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CC42A0

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

Preview Lab → · Contrast checker → · Palette generator →

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