#CC45A7#CC45A7

#CC45A7 is a mid, vivid pink. Relative luminance 0.199; OKLCH L 61.0% C 0.199 H 340.4°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#CC45A7
RGBrgb(204, 69, 167)
HSLhsl(316, 57%, 54%)
HSVhsv(316, 66%, 80%)
CMYKcmyk(0%, 66.2%, 18.1%, 20%)
CIE-LABlab(51.71, 63.11, -24.81)
CIE-LCHlch(51.71, 67.81, 338.54°)
OKLaboklab(60.99% 0.1878 -0.0668)
OKLCHoklch(60.99% 0.199 340.4)
XYZxyz(34.0059, 19.8868, 38.5993)
Luminance0.1988 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC45A7 #45CC6A
analogous
#AD45CC #CC45A7 #CC4563
triadic
#CC45A7 #A7CC45 #45A7CC
tetradic
#CC45A7 #CCAD45 #45CC6A #4563CC
square
#CC45A7 #CCAD45 #45CC6A #4563CC
split-complementary
#CC45A7 #63CC45 #45CCAD
monochromatic
#76205F #A62E85 #CC45A7 #D975BE #E6A5D4

Accessibility & contrast

On white

4.22
#CC45A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#CC45A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC45A7
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC45A7#FFFFFF#000000##000000
##CC45A71.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E6DAA
Deuteranopia (green-blind)
#7783A4
Tritanopia (blue-blind)
#D84870
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc45a7;
/* rgb */ color: rgb(204, 69, 167);
/* oklch */ color: oklch(61.0% 0.199 340.4);
Tailwind
colors: {
  custom: {
    50: '#df82c1',
    500: '#cc45a7',
    950: '#000000',
  },
}
SCSS
$custom: #cc45a7;
$custom-light: #df82c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc45a7",
  "rgb": {
    "r": 204,
    "g": 69,
    "b": 167
  },
  "hsl": {
    "h": 316.444,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60992,
    "c": 0.19935,
    "h": 340.4
  },
  "luminance": 0.19884
}

Semantic roles & 50–950 ramp

primary
#CC45A7
secondary
#99D3A9
accent
#E07148
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CC45A7

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

Preview Lab → · Contrast checker → · Palette generator →

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