#CC45A0#CC45A0

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

Color values

HEX#CC45A0
RGBrgb(204, 69, 160)
HSLhsl(320, 57%, 54%)
HSVhsv(320, 66%, 80%)
CMYKcmyk(0%, 66.2%, 21.6%, 20%)
CIE-LABlab(51.42, 62.14, -21.13)
CIE-LCHlch(51.42, 65.63, 341.22°)
OKLaboklab(60.69% 0.1865 -0.0564)
OKLCHoklch(60.69% 0.195 343.2)
XYZxyz(33.3762, 19.6349, 35.2830)
Luminance0.1963 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC45A0 #45CC71
analogous
#B545CC #CC45A0 #CC455C
triadic
#CC45A0 #A0CC45 #45A0CC
tetradic
#CC45A0 #CCB545 #45CC71 #455CCC
square
#CC45A0 #CCB545 #45CC71 #455CCC
split-complementary
#CC45A0 #5CCC45 #45CCB5
monochromatic
#76205A #A62E7F #CC45A0 #D975B9 #E6A5D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC45A0#FFFFFF#000000##000000
##CC45A01.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)
#516CA3
Deuteranopia (green-blind)
#79839D
Tritanopia (blue-blind)
#D9456C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc45a0;
/* rgb */ color: rgb(204, 69, 160);
/* oklch */ color: oklch(60.7% 0.195 343.2);
Tailwind
colors: {
  custom: {
    50: '#df82bc',
    500: '#cc45a0',
    950: '#000000',
  },
}
SCSS
$custom: #cc45a0;
$custom-light: #df82bc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc45a0",
  "rgb": {
    "r": 204,
    "g": 69,
    "b": 160
  },
  "hsl": {
    "h": 319.556,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60688,
    "c": 0.19485,
    "h": 343.2
  },
  "luminance": 0.19632
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC45A0

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

Preview Lab → · Contrast checker → · Palette generator →

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