#CC47AF#CC47AF

#CC47AF is a mid, highly saturated pink. Relative luminance 0.204; OKLCH L 61.6% C 0.202 H 337.5°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#CC47AF
RGBrgb(204, 71, 175)
HSLhsl(313, 57%, 54%)
HSVhsv(313, 65%, 80%)
CMYKcmyk(0%, 65.2%, 14.2%, 20%)
CIE-LABlab(52.33, 63.48, -28.53)
CIE-LCHlch(52.33, 69.59, 335.80°)
OKLaboklab(61.56% 0.1868 -0.0773)
OKLCHoklch(61.56% 0.202 337.5)
XYZxyz(34.8935, 20.4420, 42.6571)
Luminance0.2044 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC47AF #47CC64
analogous
#A747CC #CC47AF #CC476D
triadic
#CC47AF #AFCC47 #47AFCC
tetradic
#CC47AF #CCA747 #47CC64 #476DCC
square
#CC47AF #CCA747 #47CC64 #476DCC
split-complementary
#CC47AF #6DCC47 #47CCA7
monochromatic
#772165 #A72E8D #CC47AF #D977C4 #E7A7D9

Accessibility & contrast

On white

4.13
#CC47AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#CC47AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC47AF
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC47AF#FFFFFF#000000##000000
##CC47AF1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B70B2
Deuteranopia (green-blind)
#7584AC
Tritanopia (blue-blind)
#D74D75
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc47af;
/* rgb */ color: rgb(204, 71, 175);
/* oklch */ color: oklch(61.6% 0.202 337.5);
Tailwind
colors: {
  custom: {
    50: '#df83c7',
    500: '#cc47af',
    950: '#000000',
  },
}
SCSS
$custom: #cc47af;
$custom-light: #df83c7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc47af",
  "rgb": {
    "r": 204,
    "g": 71,
    "b": 175
  },
  "hsl": {
    "h": 313.083,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.6156,
    "c": 0.20218,
    "h": 337.5
  },
  "luminance": 0.20439
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC47AF

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

Preview Lab → · Contrast checker → · Palette generator →

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