#CC45AA#CC45AA

#CC45AA is a mid, highly saturated pink. Relative luminance 0.200; OKLCH L 61.1% C 0.201 H 339.3°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#CC45AA
RGBrgb(204, 69, 170)
HSLhsl(315, 57%, 54%)
HSVhsv(315, 66%, 80%)
CMYKcmyk(0%, 66.2%, 16.7%, 20%)
CIE-LABlab(51.84, 63.53, -26.37)
CIE-LCHlch(51.84, 68.79, 337.46°)
OKLaboklab(61.13% 0.1884 -0.0712)
OKLCHoklch(61.13% 0.201 339.3)
XYZxyz(34.2864, 19.9990, 40.0769)
Luminance0.2000 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC45AA #45CC67
analogous
#AA45CC #CC45AA #CC4566
triadic
#CC45AA #AACC45 #45AACC
tetradic
#CC45AA #CCAA45 #45CC67 #4566CC
square
#CC45AA #CCAA45 #45CC67 #4566CC
split-complementary
#CC45AA #66CC45 #45CCAA
monochromatic
#762061 #A62E88 #CC45AA #D975C0 #E6A5D6

Accessibility & contrast

On white

4.20
#CC45AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#CC45AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC45AA
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC45AA#FFFFFF#000000##000000
##CC45AA1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C6EAD
Deuteranopia (green-blind)
#7683A7
Tritanopia (blue-blind)
#D74971
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cc45aa;
/* rgb */ color: rgb(204, 69, 170);
/* oklch */ color: oklch(61.1% 0.201 339.3);
Tailwind
colors: {
  custom: {
    50: '#df82c3',
    500: '#cc45aa',
    950: '#000000',
  },
}
SCSS
$custom: #cc45aa;
$custom-light: #df82c3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc45aa",
  "rgb": {
    "r": 204,
    "g": 69,
    "b": 170
  },
  "hsl": {
    "h": 315.111,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61127,
    "c": 0.20135,
    "h": 339.3
  },
  "luminance": 0.19996
}

Semantic roles & 50–950 ramp

primary
#CC45AA
secondary
#99D3A8
accent
#E06E48
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #CC45AA

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

Preview Lab → · Contrast checker → · Palette generator →

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