#CC47B2#CC47B2

#CC47B2 is a mid, highly saturated pink. Relative luminance 0.206; OKLCH L 61.7% C 0.204 H 336.4°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#CC47B2
RGBrgb(204, 71, 178)
HSLhsl(312, 57%, 54%)
HSVhsv(312, 65%, 80%)
CMYKcmyk(0%, 65.2%, 12.7%, 20%)
CIE-LABlab(52.47, 63.92, -30.07)
CIE-LCHlch(52.47, 70.64, 334.81°)
OKLaboklab(61.7% 0.1872 -0.0817)
OKLCHoklch(61.7% 0.204 336.4)
XYZxyz(35.1914, 20.5612, 44.2261)
Luminance0.2056 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC47B2 #47CC61
analogous
#A447CC #CC47B2 #CC4770
triadic
#CC47B2 #B2CC47 #47B2CC
tetradic
#CC47B2 #CCA447 #47CC61 #4770CC
square
#CC47B2 #CCA447 #47CC61 #4770CC
split-complementary
#CC47B2 #70CC47 #47CCA4
monochromatic
#772167 #A72E90 #CC47B2 #D977C6 #E7A7DA

Accessibility & contrast

On white

4.11
#CC47B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#CC47B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC47B2
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC47B2#FFFFFF#000000##000000
##CC47B21.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4970B5
Deuteranopia (green-blind)
#7484AF
Tritanopia (blue-blind)
#D64E76
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc47b2;
/* rgb */ color: rgb(204, 71, 178);
/* oklch */ color: oklch(61.7% 0.204 336.4);
Tailwind
colors: {
  custom: {
    50: '#df84c9',
    500: '#cc47b2',
    950: '#000000',
  },
}
SCSS
$custom: #cc47b2;
$custom-light: #df84c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc47b2",
  "rgb": {
    "r": 204,
    "g": 71,
    "b": 178
  },
  "hsl": {
    "h": 311.729,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.617,
    "c": 0.20429,
    "h": 336.4
  },
  "luminance": 0.20558
}

Semantic roles & 50–950 ramp

primary
#CC47B2
secondary
#9BD4A6
accent
#E06648
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC47B2

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

Preview Lab → · Contrast checker → · Palette generator →

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