#CC42AE#CC42AE

#CC42AE is a mid, highly saturated pink. Relative luminance 0.198; OKLCH L 61.0% C 0.208 H 337.7°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#CC42AE
RGBrgb(204, 66, 174)
HSLhsl(313, 58%, 53%)
HSVhsv(313, 68%, 80%)
CMYKcmyk(0%, 67.6%, 14.7%, 20%)
CIE-LABlab(51.60, 65.25, -29.08)
CIE-LCHlch(51.60, 71.43, 335.98°)
OKLaboklab(61.01% 0.1924 -0.0788)
OKLCHoklch(61.01% 0.208 337.7)
XYZxyz(34.4907, 19.7929, 42.0401)
Luminance0.1979 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC42AE #42CC60
analogous
#A542CC #CC42AE #CC4269
triadic
#CC42AE #AECC42 #42AECC
tetradic
#CC42AE #CCA542 #42CC60 #4269CC
square
#CC42AE #CCA542 #42CC60 #4269CC
split-complementary
#CC42AE #69CC42 #42CCA5
monochromatic
#741F62 #A42C8A #CC42AE #D972C3 #E6A2D7

Accessibility & contrast

On white

4.24
#CC42AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#CC42AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC42AE
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC42AE#FFFFFF#000000##000000
##CC42AE1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#476DB1
Deuteranopia (green-blind)
#7383AB
Tritanopia (blue-blind)
#D74972
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc42ae;
/* rgb */ color: rgb(204, 66, 174);
/* oklch */ color: oklch(61.0% 0.208 337.7);
Tailwind
colors: {
  custom: {
    50: '#df81c6',
    500: '#cc42ae',
    950: '#000000',
  },
}
SCSS
$custom: #cc42ae;
$custom-light: #df81c6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc42ae",
  "rgb": {
    "r": 204,
    "g": 66,
    "b": 174
  },
  "hsl": {
    "h": 313.043,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.61013,
    "c": 0.2079,
    "h": 337.7
  },
  "luminance": 0.1979
}

Semantic roles & 50–950 ramp

primary
#CC42AE
secondary
#97D3A4
accent
#E16847
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC42AE

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

Preview Lab → · Contrast checker → · Palette generator →

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