#CC45A2#CC45A2

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

Color values

HEX#CC45A2
RGBrgb(204, 69, 162)
HSLhsl(319, 57%, 54%)
HSVhsv(319, 66%, 80%)
CMYKcmyk(0%, 66.2%, 20.6%, 20%)
CIE-LABlab(51.50, 62.41, -22.18)
CIE-LCHlch(51.50, 66.24, 340.43°)
OKLaboklab(60.77% 0.1869 -0.0594)
OKLCHoklch(60.77% 0.196 342.4)
XYZxyz(33.5526, 19.7055, 36.2119)
Luminance0.1970 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC45A2 #45CC6F
analogous
#B345CC #CC45A2 #CC455E
triadic
#CC45A2 #A2CC45 #45A2CC
tetradic
#CC45A2 #CCB345 #45CC6F #455ECC
square
#CC45A2 #CCB345 #45CC6F #455ECC
split-complementary
#CC45A2 #5ECC45 #45CCB3
monochromatic
#76205C #A62E81 #CC45A2 #D975BA #E6A5D2

Accessibility & contrast

On white

4.25
#CC45A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#CC45A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC45A2
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC45A2#FFFFFF#000000##000000
##CC45A21.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#506DA5
Deuteranopia (green-blind)
#79839F
Tritanopia (blue-blind)
#D8466D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc45a2;
/* rgb */ color: rgb(204, 69, 162);
/* oklch */ color: oklch(60.8% 0.196 342.4);
Tailwind
colors: {
  custom: {
    50: '#df82bd',
    500: '#cc45a2',
    950: '#000000',
  },
}
SCSS
$custom: #cc45a2;
$custom-light: #df82bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc45a2",
  "rgb": {
    "r": 204,
    "g": 69,
    "b": 162
  },
  "hsl": {
    "h": 318.667,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60774,
    "c": 0.19611,
    "h": 342.4
  },
  "luminance": 0.19702
}

Semantic roles & 50–950 ramp

primary
#CC45A2
secondary
#99D3AB
accent
#E07748
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CC45A2

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

Preview Lab → · Contrast checker → · Palette generator →

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