#CC47B0#CC47B0

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

Color values

HEX#CC47B0
RGBrgb(204, 71, 176)
HSLhsl(313, 57%, 54%)
HSVhsv(313, 65%, 80%)
CMYKcmyk(0%, 65.2%, 13.7%, 20%)
CIE-LABlab(52.38, 63.63, -29.04)
CIE-LCHlch(52.38, 69.94, 335.46°)
OKLaboklab(61.61% 0.187 -0.0788)
OKLCHoklch(61.61% 0.203 337.2)
XYZxyz(34.9921, 20.4815, 43.1763)
Luminance0.2048 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC47B0 #47CC63
analogous
#A647CC #CC47B0 #CC476E
triadic
#CC47B0 #B0CC47 #47B0CC
tetradic
#CC47B0 #CCA647 #47CC63 #476ECC
square
#CC47B0 #CCA647 #47CC63 #476ECC
split-complementary
#CC47B0 #6ECC47 #47CCA6
monochromatic
#772165 #A72E8E #CC47B0 #D977C5 #E7A7D9

Accessibility & contrast

On white

4.12
#CC47B0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC47B0#FFFFFF#000000##000000
##CC47B01.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A70B3
Deuteranopia (green-blind)
#7584AD
Tritanopia (blue-blind)
#D64E75
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc47b0;
/* rgb */ color: rgb(204, 71, 176);
/* oklch */ color: oklch(61.6% 0.203 337.2);
Tailwind
colors: {
  custom: {
    50: '#df83c8',
    500: '#cc47b0',
    950: '#000000',
  },
}
SCSS
$custom: #cc47b0;
$custom-light: #df83c8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc47b0",
  "rgb": {
    "r": 204,
    "g": 71,
    "b": 176
  },
  "hsl": {
    "h": 312.632,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61606,
    "c": 0.20288,
    "h": 337.2
  },
  "luminance": 0.20478
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC47B0

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

Preview Lab → · Contrast checker → · Palette generator →

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