#CC45A3#CC45A3

#CC45A3 is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.8% C 0.197 H 342.0°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#CC45A3
RGBrgb(204, 69, 163)
HSLhsl(318, 57%, 54%)
HSVhsv(318, 66%, 80%)
CMYKcmyk(0%, 66.2%, 20.1%, 20%)
CIE-LABlab(51.54, 62.55, -22.71)
CIE-LCHlch(51.54, 66.55, 340.05°)
OKLaboklab(60.82% 0.1871 -0.0609)
OKLCHoklch(60.82% 0.197 342)
XYZxyz(33.6418, 19.7412, 36.6819)
Luminance0.1974 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC45A3 #45CC6E
analogous
#B145CC #CC45A3 #CC455F
triadic
#CC45A3 #A3CC45 #45A3CC
tetradic
#CC45A3 #CCB145 #45CC6E #455FCC
square
#CC45A3 #CCB145 #45CC6E #455FCC
split-complementary
#CC45A3 #5FCC45 #45CCB1
monochromatic
#76205C #A62E82 #CC45A3 #D975BB #E6A5D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC45A3#FFFFFF#000000##000000
##CC45A31.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)
#506DA6
Deuteranopia (green-blind)
#7983A0
Tritanopia (blue-blind)
#D8466E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc45a3;
/* rgb */ color: rgb(204, 69, 163);
/* oklch */ color: oklch(60.8% 0.197 342.0);
Tailwind
colors: {
  custom: {
    50: '#df82be',
    500: '#cc45a3',
    950: '#000000',
  },
}
SCSS
$custom: #cc45a3;
$custom-light: #df82be;
$custom-dark: #000000;
JSON
{
  "hex": "#cc45a3",
  "rgb": {
    "r": 204,
    "g": 69,
    "b": 163
  },
  "hsl": {
    "h": 318.222,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60817,
    "c": 0.19675,
    "h": 342
  },
  "luminance": 0.19738
}

Semantic roles & 50–950 ramp

primary
#CC45A3
secondary
#99D3AB
accent
#E07648
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CC45A3

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

Preview Lab → · Contrast checker → · Palette generator →

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