#CC40AA#CC40AA

#CC40AA is a mid, highly saturated pink. Relative luminance 0.194; OKLCH L 60.6% C 0.208 H 339.1°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#CC40AA
RGBrgb(204, 64, 170)
HSLhsl(315, 58%, 53%)
HSVhsv(315, 69%, 80%)
CMYKcmyk(0%, 68.6%, 16.7%, 20%)
CIE-LABlab(51.16, 65.41, -27.42)
CIE-LCHlch(51.16, 70.92, 337.26°)
OKLaboklab(60.64% 0.194 -0.0741)
OKLCHoklch(60.64% 0.208 339.1)
XYZxyz(33.9917, 19.4096, 39.9786)
Luminance0.1941 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC40AA #40CC62
analogous
#A840CC #CC40AA #CC4064
triadic
#CC40AA #AACC40 #40AACC
tetradic
#CC40AA #CCA840 #40CC62 #4064CC
square
#CC40AA #CCA840 #40CC62 #4064CC
split-complementary
#CC40AA #64CC40 #40CCA8
monochromatic
#731F5E #A32C86 #CC40AA #D970BF #E6A1D5

Accessibility & contrast

On white

4.30
#CC40AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#CC40AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC40AA
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC40AA#FFFFFF#000000##000000
##CC40AA1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#476CAD
Deuteranopia (green-blind)
#7482A7
Tritanopia (blue-blind)
#D7456F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc40aa;
/* rgb */ color: rgb(204, 64, 170);
/* oklch */ color: oklch(60.6% 0.208 339.1);
Tailwind
colors: {
  custom: {
    50: '#df80c3',
    500: '#cc40aa',
    950: '#000000',
  },
}
SCSS
$custom: #cc40aa;
$custom-light: #df80c3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc40aa",
  "rgb": {
    "r": 204,
    "g": 64,
    "b": 170
  },
  "hsl": {
    "h": 314.571,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.60636,
    "c": 0.20767,
    "h": 339.1
  },
  "luminance": 0.19406
}

Semantic roles & 50–950 ramp

primary
#CC40AA
secondary
#95D2A4
accent
#E16C47
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #CC40AA

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

Preview Lab → · Contrast checker → · Palette generator →

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