#CC47AA#CC47AA

#CC47AA is a mid, vivid pink. Relative luminance 0.202; OKLCH L 61.3% C 0.199 H 339.4°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#CC47AA
RGBrgb(204, 71, 170)
HSLhsl(315, 57%, 54%)
HSVhsv(315, 65%, 80%)
CMYKcmyk(0%, 65.2%, 16.7%, 20%)
CIE-LABlab(52.12, 62.75, -25.94)
CIE-LCHlch(52.12, 67.90, 337.54°)
OKLaboklab(61.33% 0.186 -0.07)
OKLCHoklch(61.33% 0.199 339.4)
XYZxyz(34.4115, 20.2492, 40.1186)
Luminance0.2025 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC47AA #47CC69
analogous
#AC47CC #CC47AA #CC4768
triadic
#CC47AA #AACC47 #47AACC
tetradic
#CC47AA #CCAC47 #47CC69 #4768CC
square
#CC47AA #CCAC47 #47CC69 #4768CC
split-complementary
#CC47AA #68CC47 #47CCAC
monochromatic
#772161 #A72E88 #CC47AA #D977C0 #E7A7D6

Accessibility & contrast

On white

4.16
#CC47AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#CC47AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC47AA
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC47AA#FFFFFF#000000##000000
##CC47AA1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E6FAD
Deuteranopia (green-blind)
#7784A7
Tritanopia (blue-blind)
#D74B72
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cc47aa;
/* rgb */ color: rgb(204, 71, 170);
/* oklch */ color: oklch(61.3% 0.199 339.4);
Tailwind
colors: {
  custom: {
    50: '#df83c3',
    500: '#cc47aa',
    950: '#000000',
  },
}
SCSS
$custom: #cc47aa;
$custom-light: #df83c3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc47aa",
  "rgb": {
    "r": 204,
    "g": 71,
    "b": 170
  },
  "hsl": {
    "h": 315.338,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61332,
    "c": 0.19873,
    "h": 339.4
  },
  "luminance": 0.20246
}

Semantic roles & 50–950 ramp

primary
#CC47AA
secondary
#9BD4AA
accent
#E06F48
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #CC47AA

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

Preview Lab → · Contrast checker → · Palette generator →

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