#CC45A4#CC45A4

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

Color values

HEX#CC45A4
RGBrgb(204, 69, 164)
HSLhsl(318, 57%, 54%)
HSVhsv(318, 66%, 80%)
CMYKcmyk(0%, 66.2%, 19.6%, 20%)
CIE-LABlab(51.58, 62.69, -23.24)
CIE-LCHlch(51.58, 66.86, 339.66°)
OKLaboklab(60.86% 0.1873 -0.0623)
OKLCHoklch(60.86% 0.197 341.6)
XYZxyz(33.7317, 19.7771, 37.1556)
Luminance0.1977 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC45A4 #45CC6D
analogous
#B045CC #CC45A4 #CC4560
triadic
#CC45A4 #A4CC45 #45A4CC
tetradic
#CC45A4 #CCB045 #45CC6D #4560CC
square
#CC45A4 #CCB045 #45CC6D #4560CC
split-complementary
#CC45A4 #60CC45 #45CCB0
monochromatic
#76205D #A62E82 #CC45A4 #D975BB #E6A5D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC45A4#FFFFFF#000000##000000
##CC45A41.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)
#4F6DA7
Deuteranopia (green-blind)
#7883A1
Tritanopia (blue-blind)
#D8476E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc45a4;
/* rgb */ color: rgb(204, 69, 164);
/* oklch */ color: oklch(60.9% 0.197 341.6);
Tailwind
colors: {
  custom: {
    50: '#df82bf',
    500: '#cc45a4',
    950: '#000000',
  },
}
SCSS
$custom: #cc45a4;
$custom-light: #df82bf;
$custom-dark: #000000;
JSON
{
  "hex": "#cc45a4",
  "rgb": {
    "r": 204,
    "g": 69,
    "b": 164
  },
  "hsl": {
    "h": 317.778,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.6086,
    "c": 0.1974,
    "h": 341.6
  },
  "luminance": 0.19774
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC45A4

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

Preview Lab → · Contrast checker → · Palette generator →

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