#CC40AE#CC40AE

#CC40AE is a mid, highly saturated pink. Relative luminance 0.196; OKLCH L 60.8% C 0.210 H 337.7°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#CC40AE
RGBrgb(204, 64, 174)
HSLhsl(313, 58%, 53%)
HSVhsv(313, 69%, 80%)
CMYKcmyk(0%, 68.6%, 14.7%, 20%)
CIE-LABlab(51.34, 65.98, -29.49)
CIE-LCHlch(51.34, 72.27, 335.92°)
OKLaboklab(60.82% 0.1946 -0.08)
OKLCHoklch(60.82% 0.21 337.7)
XYZxyz(34.3759, 19.5633, 42.0018)
Luminance0.1956 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC40AE #40CC5E
analogous
#A440CC #CC40AE #CC4068
triadic
#CC40AE #AECC40 #40AECC
tetradic
#CC40AE #CCA440 #40CC5E #4068CC
square
#CC40AE #CCA440 #40CC5E #4068CC
split-complementary
#CC40AE #68CC40 #40CCA4
monochromatic
#731F61 #A32C8A #CC40AE #D970C2 #E6A1D7

Accessibility & contrast

On white

4.28
#CC40AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#CC40AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC40AE
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC40AE#FFFFFF#000000##000000
##CC40AE1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#456DB1
Deuteranopia (green-blind)
#7282AB
Tritanopia (blue-blind)
#D74772
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc40ae;
/* rgb */ color: rgb(204, 64, 174);
/* oklch */ color: oklch(60.8% 0.210 337.7);
Tailwind
colors: {
  custom: {
    50: '#df80c6',
    500: '#cc40ae',
    950: '#000000',
  },
}
SCSS
$custom: #cc40ae;
$custom-light: #df80c6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc40ae",
  "rgb": {
    "r": 204,
    "g": 64,
    "b": 174
  },
  "hsl": {
    "h": 312.857,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.60822,
    "c": 0.21037,
    "h": 337.7
  },
  "luminance": 0.1956
}

Semantic roles & 50–950 ramp

primary
#CC40AE
secondary
#95D2A3
accent
#E16847
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC40AE

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

Preview Lab → · Contrast checker → · Palette generator →

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