#CC45A8#CC45A8

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

Color values

HEX#CC45A8
RGBrgb(204, 69, 168)
HSLhsl(316, 57%, 54%)
HSVhsv(316, 66%, 80%)
CMYKcmyk(0%, 66.2%, 17.6%, 20%)
CIE-LABlab(51.75, 63.25, -25.33)
CIE-LCHlch(51.75, 68.13, 338.17°)
OKLaboklab(61.04% 0.188 -0.0682)
OKLCHoklch(61.04% 0.2 340.1)
XYZxyz(34.0987, 19.9239, 39.0881)
Luminance0.1992 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC45A8 #45CC69
analogous
#AC45CC #CC45A8 #CC4564
triadic
#CC45A8 #A8CC45 #45A8CC
tetradic
#CC45A8 #CCAC45 #45CC69 #4564CC
square
#CC45A8 #CCAC45 #45CC69 #4564CC
split-complementary
#CC45A8 #64CC45 #45CCAC
monochromatic
#76205F #A62E86 #CC45A8 #D975BE #E6A5D5

Accessibility & contrast

On white

4.21
#CC45A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC45A8#FFFFFF#000000##000000
##CC45A81.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D6EAB
Deuteranopia (green-blind)
#7783A5
Tritanopia (blue-blind)
#D84970
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc45a8;
/* rgb */ color: rgb(204, 69, 168);
/* oklch */ color: oklch(61.0% 0.200 340.1);
Tailwind
colors: {
  custom: {
    50: '#df82c2',
    500: '#cc45a8',
    950: '#000000',
  },
}
SCSS
$custom: #cc45a8;
$custom-light: #df82c2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc45a8",
  "rgb": {
    "r": 204,
    "g": 69,
    "b": 168
  },
  "hsl": {
    "h": 316,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61037,
    "c": 0.20001,
    "h": 340.1
  },
  "luminance": 0.19921
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC45A8

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

Preview Lab → · Contrast checker → · Palette generator →

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