#CC47A0#CC47A0

#CC47A0 is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.9% C 0.192 H 343.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#CC47A0
RGBrgb(204, 71, 160)
HSLhsl(320, 57%, 54%)
HSVhsv(320, 65%, 80%)
CMYKcmyk(0%, 65.2%, 21.6%, 20%)
CIE-LABlab(51.71, 61.35, -20.69)
CIE-LCHlch(51.71, 64.75, 341.36°)
OKLaboklab(60.9% 0.1841 -0.0552)
OKLCHoklch(60.9% 0.192 343.3)
XYZxyz(33.5013, 19.8851, 35.3247)
Luminance0.1988 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC47A0 #47CC73
analogous
#B647CC #CC47A0 #CC475E
triadic
#CC47A0 #A0CC47 #47A0CC
tetradic
#CC47A0 #CCB647 #47CC73 #475ECC
square
#CC47A0 #CCB647 #47CC73 #475ECC
split-complementary
#CC47A0 #5ECC47 #47CCB6
monochromatic
#77215B #A72E7F #CC47A0 #D977B9 #E7A7D1

Accessibility & contrast

On white

4.22
#CC47A0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#CC47A0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC47A0
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC47A0#FFFFFF#000000##000000
##CC47A01.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#536DA3
Deuteranopia (green-blind)
#7A839D
Tritanopia (blue-blind)
#D9476D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc47a0;
/* rgb */ color: rgb(204, 71, 160);
/* oklch */ color: oklch(60.9% 0.192 343.3);
Tailwind
colors: {
  custom: {
    50: '#df83bc',
    500: '#cc47a0',
    950: '#000000',
  },
}
SCSS
$custom: #cc47a0;
$custom-light: #df83bc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc47a0",
  "rgb": {
    "r": 204,
    "g": 71,
    "b": 160
  },
  "hsl": {
    "h": 319.85,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60897,
    "c": 0.19221,
    "h": 343.3
  },
  "luminance": 0.19882
}

Semantic roles & 50–950 ramp

primary
#CC47A0
secondary
#9BD4AE
accent
#E07A48
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CC47A0

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

Preview Lab → · Contrast checker → · Palette generator →

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