#CC47A2#CC47A2

#CC47A2 is a mid, vivid pink. Relative luminance 0.200; OKLCH L 61.0% C 0.193 H 342.5°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#CC47A2
RGBrgb(204, 71, 162)
HSLhsl(319, 57%, 54%)
HSVhsv(319, 65%, 80%)
CMYKcmyk(0%, 65.2%, 20.6%, 20%)
CIE-LABlab(51.79, 61.63, -21.75)
CIE-LCHlch(51.79, 65.35, 340.56°)
OKLaboklab(60.98% 0.1845 -0.0582)
OKLCHoklch(60.98% 0.193 342.5)
XYZxyz(33.6777, 19.9557, 36.2536)
Luminance0.1995 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC47A2 #47CC71
analogous
#B447CC #CC47A2 #CC4760
triadic
#CC47A2 #A2CC47 #47A2CC
tetradic
#CC47A2 #CCB447 #47CC71 #4760CC
square
#CC47A2 #CCB447 #47CC71 #4760CC
split-complementary
#CC47A2 #60CC47 #47CCB4
monochromatic
#77215C #A72E81 #CC47A2 #D977BA #E7A7D2

Accessibility & contrast

On white

4.21
#CC47A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#CC47A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC47A2
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC47A2#FFFFFF#000000##000000
##CC47A21.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#526EA5
Deuteranopia (green-blind)
#7A839F
Tritanopia (blue-blind)
#D8486E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc47a2;
/* rgb */ color: rgb(204, 71, 162);
/* oklch */ color: oklch(61.0% 0.193 342.5);
Tailwind
colors: {
  custom: {
    50: '#df83bd',
    500: '#cc47a2',
    950: '#000000',
  },
}
SCSS
$custom: #cc47a2;
$custom-light: #df83bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc47a2",
  "rgb": {
    "r": 204,
    "g": 71,
    "b": 162
  },
  "hsl": {
    "h": 318.947,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60982,
    "c": 0.19347,
    "h": 342.5
  },
  "luminance": 0.19952
}

Semantic roles & 50–950 ramp

primary
#CC47A2
secondary
#9BD4AD
accent
#E07848
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CC47A2

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

Preview Lab → · Contrast checker → · Palette generator →

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