#CC45A1#CC45A1

#CC45A1 is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.7% C 0.195 H 342.8°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#CC45A1
RGBrgb(204, 69, 161)
HSLhsl(319, 57%, 54%)
HSVhsv(319, 66%, 80%)
CMYKcmyk(0%, 66.2%, 21.1%, 20%)
CIE-LABlab(51.46, 62.28, -21.66)
CIE-LCHlch(51.46, 65.93, 340.83°)
OKLaboklab(60.73% 0.1867 -0.0579)
OKLCHoklch(60.73% 0.195 342.8)
XYZxyz(33.4640, 19.6700, 35.7456)
Luminance0.1967 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC45A1 #45CC70
analogous
#B345CC #CC45A1 #CC455D
triadic
#CC45A1 #A1CC45 #45A1CC
tetradic
#CC45A1 #CCB345 #45CC70 #455DCC
square
#CC45A1 #CCB345 #45CC70 #455DCC
split-complementary
#CC45A1 #5DCC45 #45CCB3
monochromatic
#76205B #A62E80 #CC45A1 #D975B9 #E6A5D2

Accessibility & contrast

On white

4.26
#CC45A1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#CC45A1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC45A1
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC45A1#FFFFFF#000000##000000
##CC45A11.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#516CA4
Deuteranopia (green-blind)
#79839E
Tritanopia (blue-blind)
#D8466D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc45a1;
/* rgb */ color: rgb(204, 69, 161);
/* oklch */ color: oklch(60.7% 0.195 342.8);
Tailwind
colors: {
  custom: {
    50: '#df82bd',
    500: '#cc45a1',
    950: '#000000',
  },
}
SCSS
$custom: #cc45a1;
$custom-light: #df82bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc45a1",
  "rgb": {
    "r": 204,
    "g": 69,
    "b": 161
  },
  "hsl": {
    "h": 319.111,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60731,
    "c": 0.19548,
    "h": 342.8
  },
  "luminance": 0.19667
}

Semantic roles & 50–950 ramp

primary
#CC45A1
secondary
#99D3AC
accent
#E07848
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CC45A1

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

Preview Lab → · Contrast checker → · Palette generator →

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