#CC47AC#CC47AC

#CC47AC is a mid, highly saturated pink. Relative luminance 0.203; OKLCH L 61.4% C 0.200 H 338.6°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#CC47AC
RGBrgb(204, 71, 172)
HSLhsl(314, 57%, 54%)
HSVhsv(314, 65%, 80%)
CMYKcmyk(0%, 65.2%, 15.7%, 20%)
CIE-LABlab(52.20, 63.04, -26.98)
CIE-LCHlch(52.20, 68.57, 336.83°)
OKLaboklab(61.42% 0.1863 -0.0729)
OKLCHoklch(61.42% 0.2 338.6)
XYZxyz(34.6021, 20.3255, 41.1226)
Luminance0.2032 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC47AC #47CC67
analogous
#AA47CC #CC47AC #CC476A
triadic
#CC47AC #ACCC47 #47ACCC
tetradic
#CC47AC #CCAA47 #47CC67 #476ACC
square
#CC47AC #CCAA47 #47CC67 #476ACC
split-complementary
#CC47AC #6ACC47 #47CCAA
monochromatic
#772163 #A72E8A #CC47AC #D977C2 #E7A7D7

Accessibility & contrast

On white

4.15
#CC47AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#CC47AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC47AC
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC47AC#FFFFFF#000000##000000
##CC47AC1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D6FAF
Deuteranopia (green-blind)
#7684A9
Tritanopia (blue-blind)
#D74C73
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cc47ac;
/* rgb */ color: rgb(204, 71, 172);
/* oklch */ color: oklch(61.4% 0.200 338.6);
Tailwind
colors: {
  custom: {
    50: '#df83c5',
    500: '#cc47ac',
    950: '#000000',
  },
}
SCSS
$custom: #cc47ac;
$custom-light: #df83c5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc47ac",
  "rgb": {
    "r": 204,
    "g": 71,
    "b": 172
  },
  "hsl": {
    "h": 314.436,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61423,
    "c": 0.20009,
    "h": 338.6
  },
  "luminance": 0.20322
}

Semantic roles & 50–950 ramp

primary
#CC47AC
secondary
#9BD4A9
accent
#E06C48
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC47AC

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

Preview Lab → · Contrast checker → · Palette generator →

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