#CC47AD#CC47AD

#CC47AD is a mid, highly saturated pink. Relative luminance 0.204; OKLCH L 61.5% C 0.201 H 338.3°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#CC47AD
RGBrgb(204, 71, 173)
HSLhsl(314, 57%, 54%)
HSVhsv(314, 65%, 80%)
CMYKcmyk(0%, 65.2%, 15.2%, 20%)
CIE-LABlab(52.25, 63.19, -27.49)
CIE-LCHlch(52.25, 68.91, 336.48°)
OKLaboklab(61.47% 0.1865 -0.0744)
OKLCHoklch(61.47% 0.201 338.3)
XYZxyz(34.6985, 20.3640, 41.6303)
Luminance0.2036 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC47AD #47CC66
analogous
#A947CC #CC47AD #CC476B
triadic
#CC47AD #ADCC47 #47ADCC
tetradic
#CC47AD #CCA947 #47CC66 #476BCC
square
#CC47AD #CCA947 #47CC66 #476BCC
split-complementary
#CC47AD #6BCC47 #47CCA9
monochromatic
#772163 #A72E8B #CC47AD #D977C2 #E7A7D8

Accessibility & contrast

On white

4.14
#CC47AD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#CC47AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC47AD
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC47AD#FFFFFF#000000##000000
##CC47AD1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C6FB0
Deuteranopia (green-blind)
#7684AA
Tritanopia (blue-blind)
#D74C74
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc47ad;
/* rgb */ color: rgb(204, 71, 173);
/* oklch */ color: oklch(61.5% 0.201 338.3);
Tailwind
colors: {
  custom: {
    50: '#df83c5',
    500: '#cc47ad',
    950: '#000000',
  },
}
SCSS
$custom: #cc47ad;
$custom-light: #df83c5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc47ad",
  "rgb": {
    "r": 204,
    "g": 71,
    "b": 173
  },
  "hsl": {
    "h": 313.985,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61468,
    "c": 0.20078,
    "h": 338.3
  },
  "luminance": 0.20361
}

Semantic roles & 50–950 ramp

primary
#CC47AD
secondary
#9BD4A8
accent
#E06B48
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC47AD

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

Preview Lab → · Contrast checker → · Palette generator →

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