#CC45AC#CC45AC

#CC45AC is a mid, highly saturated pink. Relative luminance 0.201; OKLCH L 61.2% C 0.203 H 338.5°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#CC45AC
RGBrgb(204, 69, 172)
HSLhsl(314, 57%, 54%)
HSVhsv(314, 66%, 80%)
CMYKcmyk(0%, 66.2%, 15.7%, 20%)
CIE-LABlab(51.92, 63.82, -27.41)
CIE-LCHlch(51.92, 69.46, 336.76°)
OKLaboklab(61.22% 0.1887 -0.0741)
OKLCHoklch(61.22% 0.203 338.5)
XYZxyz(34.4770, 20.0753, 41.0809)
Luminance0.2007 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC45AC #45CC65
analogous
#A845CC #CC45AC #CC4568
triadic
#CC45AC #ACCC45 #45ACCC
tetradic
#CC45AC #CCA845 #45CC65 #4568CC
square
#CC45AC #CCA845 #45CC65 #4568CC
split-complementary
#CC45AC #68CC45 #45CCA8
monochromatic
#762062 #A62E8A #CC45AC #D975C1 #E6A5D7

Accessibility & contrast

On white

4.19
#CC45AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#CC45AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC45AC
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC45AC#FFFFFF#000000##000000
##CC45AC1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B6EAF
Deuteranopia (green-blind)
#7583A9
Tritanopia (blue-blind)
#D74A72
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cc45ac;
/* rgb */ color: rgb(204, 69, 172);
/* oklch */ color: oklch(61.2% 0.203 338.5);
Tailwind
colors: {
  custom: {
    50: '#df82c5',
    500: '#cc45ac',
    950: '#000000',
  },
}
SCSS
$custom: #cc45ac;
$custom-light: #df82c5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc45ac",
  "rgb": {
    "r": 204,
    "g": 69,
    "b": 172
  },
  "hsl": {
    "h": 314.222,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61218,
    "c": 0.20271,
    "h": 338.5
  },
  "luminance": 0.20072
}

Semantic roles & 50–950 ramp

primary
#CC45AC
secondary
#99D3A7
accent
#E06C48
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC45AC

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

Preview Lab → · Contrast checker → · Palette generator →

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