#CC47B1#CC47B1

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

Color values

HEX#CC47B1
RGBrgb(204, 71, 177)
HSLhsl(312, 57%, 54%)
HSVhsv(312, 65%, 80%)
CMYKcmyk(0%, 65.2%, 13.2%, 20%)
CIE-LABlab(52.42, 63.77, -29.56)
CIE-LCHlch(52.42, 70.29, 335.13°)
OKLaboklab(61.65% 0.1871 -0.0802)
OKLCHoklch(61.65% 0.204 336.8)
XYZxyz(35.0914, 20.5212, 43.6993)
Luminance0.2052 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC47B1 #47CC62
analogous
#A447CC #CC47B1 #CC476F
triadic
#CC47B1 #B1CC47 #47B1CC
tetradic
#CC47B1 #CCA447 #47CC62 #476FCC
square
#CC47B1 #CCA447 #47CC62 #476FCC
split-complementary
#CC47B1 #6FCC47 #47CCA4
monochromatic
#772166 #A72E8F #CC47B1 #D977C5 #E7A7DA

Accessibility & contrast

On white

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

On black

5.10
#CC47B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC47B1
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC47B1#FFFFFF#000000##000000
##CC47B11.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A70B4
Deuteranopia (green-blind)
#7484AE
Tritanopia (blue-blind)
#D64E76
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc47b1;
/* rgb */ color: rgb(204, 71, 177);
/* oklch */ color: oklch(61.7% 0.204 336.8);
Tailwind
colors: {
  custom: {
    50: '#df83c8',
    500: '#cc47b1',
    950: '#000000',
  },
}
SCSS
$custom: #cc47b1;
$custom-light: #df83c8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc47b1",
  "rgb": {
    "r": 204,
    "g": 71,
    "b": 177
  },
  "hsl": {
    "h": 312.18,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61653,
    "c": 0.20358,
    "h": 336.8
  },
  "luminance": 0.20518
}

Semantic roles & 50–950 ramp

primary
#CC47B1
secondary
#9BD4A7
accent
#E06748
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC47B1

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

Preview Lab → · Contrast checker → · Palette generator →

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