#CC42A3#CC42A3

#CC42A3 is a mid, highly saturated pink. Relative luminance 0.194; OKLCH L 60.5% C 0.201 H 341.8°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#CC42A3
RGBrgb(204, 66, 163)
HSLhsl(318, 58%, 53%)
HSVhsv(318, 68%, 80%)
CMYKcmyk(0%, 67.6%, 20.1%, 20%)
CIE-LABlab(51.13, 63.70, -23.35)
CIE-LCHlch(51.13, 67.84, 339.87°)
OKLaboklab(60.51% 0.1906 -0.0626)
OKLCHoklch(60.51% 0.201 341.8)
XYZxyz(33.4619, 19.3814, 36.6219)
Luminance0.1938 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC42A3 #42CC6B
analogous
#B042CC #CC42A3 #CC425E
triadic
#CC42A3 #A3CC42 #42A3CC
tetradic
#CC42A3 #CCB042 #42CC6B #425ECC
square
#CC42A3 #CCB042 #42CC6B #425ECC
split-complementary
#CC42A3 #5ECC42 #42CCB0
monochromatic
#741F5B #A42C81 #CC42A3 #D972BA #E6A2D2

Accessibility & contrast

On white

4.31
#CC42A3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#CC42A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC42A3
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC42A3#FFFFFF#000000##000000
##CC42A31.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D6BA6
Deuteranopia (green-blind)
#7782A0
Tritanopia (blue-blind)
#D8446D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc42a3;
/* rgb */ color: rgb(204, 66, 163);
/* oklch */ color: oklch(60.5% 0.201 341.8);
Tailwind
colors: {
  custom: {
    50: '#df81be',
    500: '#cc42a3',
    950: '#000000',
  },
}
SCSS
$custom: #cc42a3;
$custom-light: #df81be;
$custom-dark: #000000;
JSON
{
  "hex": "#cc42a3",
  "rgb": {
    "r": 204,
    "g": 66,
    "b": 163
  },
  "hsl": {
    "h": 317.826,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60515,
    "c": 0.20061,
    "h": 341.8
  },
  "luminance": 0.19378
}

Semantic roles & 50–950 ramp

primary
#CC42A3
secondary
#97D3A9
accent
#E17547
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CC42A3

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

Preview Lab → · Contrast checker → · Palette generator →

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