#CC47A7#CC47A7

#CC47A7 is a mid, vivid pink. Relative luminance 0.201; OKLCH L 61.2% C 0.197 H 340.5°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#CC47A7
RGBrgb(204, 71, 167)
HSLhsl(317, 57%, 54%)
HSVhsv(317, 65%, 80%)
CMYKcmyk(0%, 65.2%, 18.1%, 20%)
CIE-LABlab(51.99, 62.32, -24.37)
CIE-LCHlch(51.99, 66.92, 338.64°)
OKLaboklab(61.2% 0.1855 -0.0656)
OKLCHoklch(61.2% 0.197 340.5)
XYZxyz(34.1310, 20.1370, 38.6410)
Luminance0.2013 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC47A7 #47CC6C
analogous
#AF47CC #CC47A7 #CC4765
triadic
#CC47A7 #A7CC47 #47A7CC
tetradic
#CC47A7 #CCAF47 #47CC6C #4765CC
square
#CC47A7 #CCAF47 #47CC6C #4765CC
split-complementary
#CC47A7 #65CC47 #47CCAF
monochromatic
#77215F #A72E86 #CC47A7 #D977BE #E7A7D5

Accessibility & contrast

On white

4.18
#CC47A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#CC47A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC47A7
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC47A7#FFFFFF#000000##000000
##CC47A71.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F6EAA
Deuteranopia (green-blind)
#7884A4
Tritanopia (blue-blind)
#D84A71
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cc47a7;
/* rgb */ color: rgb(204, 71, 167);
/* oklch */ color: oklch(61.2% 0.197 340.5);
Tailwind
colors: {
  custom: {
    50: '#df83c1',
    500: '#cc47a7',
    950: '#000000',
  },
}
SCSS
$custom: #cc47a7;
$custom-light: #df83c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc47a7",
  "rgb": {
    "r": 204,
    "g": 71,
    "b": 167
  },
  "hsl": {
    "h": 316.692,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61199,
    "c": 0.19672,
    "h": 340.5
  },
  "luminance": 0.20134
}

Semantic roles & 50–950 ramp

primary
#CC47A7
secondary
#9BD4AB
accent
#E07248
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CC47A7

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

Preview Lab → · Contrast checker → · Palette generator →

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