#CC47A5#CC47A5

#CC47A5 is a mid, vivid pink. Relative luminance 0.201; OKLCH L 61.1% C 0.195 H 341.3°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#CC47A5
RGBrgb(204, 71, 165)
HSLhsl(318, 57%, 54%)
HSVhsv(318, 65%, 80%)
CMYKcmyk(0%, 65.2%, 19.1%, 20%)
CIE-LABlab(51.91, 62.04, -23.32)
CIE-LCHlch(51.91, 66.28, 339.40°)
OKLaboklab(61.11% 0.1851 -0.0626)
OKLCHoklch(61.11% 0.195 341.3)
XYZxyz(33.9475, 20.0636, 37.6748)
Luminance0.2006 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC47A5 #47CC6E
analogous
#B147CC #CC47A5 #CC4763
triadic
#CC47A5 #A5CC47 #47A5CC
tetradic
#CC47A5 #CCB147 #47CC6E #4763CC
square
#CC47A5 #CCB147 #47CC6E #4763CC
split-complementary
#CC47A5 #63CC47 #47CCB1
monochromatic
#77215E #A72E84 #CC47A5 #D977BC #E7A7D4

Accessibility & contrast

On white

4.19
#CC47A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#CC47A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC47A5
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC47A5#FFFFFF#000000##000000
##CC47A51.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#506EA8
Deuteranopia (green-blind)
#7984A2
Tritanopia (blue-blind)
#D84970
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cc47a5;
/* rgb */ color: rgb(204, 71, 165);
/* oklch */ color: oklch(61.1% 0.195 341.3);
Tailwind
colors: {
  custom: {
    50: '#df83c0',
    500: '#cc47a5',
    950: '#000000',
  },
}
SCSS
$custom: #cc47a5;
$custom-light: #df83c0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc47a5",
  "rgb": {
    "r": 204,
    "g": 71,
    "b": 165
  },
  "hsl": {
    "h": 317.594,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61111,
    "c": 0.1954,
    "h": 341.3
  },
  "luminance": 0.2006
}

Semantic roles & 50–950 ramp

primary
#CC47A5
secondary
#9BD4AC
accent
#E07448
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CC47A5

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

Preview Lab → · Contrast checker → · Palette generator →

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