#CC42AD#CC42AD

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

Color values

HEX#CC42AD
RGBrgb(204, 66, 173)
HSLhsl(313, 58%, 53%)
HSVhsv(313, 68%, 80%)
CMYKcmyk(0%, 67.6%, 15.2%, 20%)
CIE-LABlab(51.56, 65.10, -28.56)
CIE-LCHlch(51.56, 71.09, 336.31°)
OKLaboklab(60.97% 0.1922 -0.0774)
OKLCHoklch(60.97% 0.207 338.1)
XYZxyz(34.3935, 19.7540, 41.5286)
Luminance0.1975 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC42AD #42CC61
analogous
#A642CC #CC42AD #CC4268
triadic
#CC42AD #ADCC42 #42ADCC
tetradic
#CC42AD #CCA642 #42CC61 #4268CC
square
#CC42AD #CCA642 #42CC61 #4268CC
split-complementary
#CC42AD #68CC42 #42CCA6
monochromatic
#741F61 #A42C89 #CC42AD #D972C2 #E6A2D7

Accessibility & contrast

On white

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

On black

4.95
#CC42AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC42AD
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC42AD#FFFFFF#000000##000000
##CC42AD1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#476DB0
Deuteranopia (green-blind)
#7483AA
Tritanopia (blue-blind)
#D74872
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc42ad;
/* rgb */ color: rgb(204, 66, 173);
/* oklch */ color: oklch(61.0% 0.207 338.1);
Tailwind
colors: {
  custom: {
    50: '#df81c5',
    500: '#cc42ad',
    950: '#000000',
  },
}
SCSS
$custom: #cc42ad;
$custom-light: #df81c5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc42ad",
  "rgb": {
    "r": 204,
    "g": 66,
    "b": 173
  },
  "hsl": {
    "h": 313.478,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60967,
    "c": 0.20722,
    "h": 338.1
  },
  "luminance": 0.19751
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC42AD

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

Preview Lab → · Contrast checker → · Palette generator →

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