#CC47B4#CC47B4

#CC47B4 is a mid, highly saturated pink. Relative luminance 0.206; OKLCH L 61.8% C 0.206 H 335.7°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#CC47B4
RGBrgb(204, 71, 180)
HSLhsl(311, 57%, 54%)
HSVhsv(311, 65%, 80%)
CMYKcmyk(0%, 65.2%, 11.8%, 20%)
CIE-LABlab(52.56, 64.22, -31.10)
CIE-LCHlch(52.56, 71.36, 334.16°)
OKLaboklab(61.79% 0.1875 -0.0846)
OKLCHoklch(61.79% 0.206 335.7)
XYZxyz(35.3937, 20.6421, 45.2914)
Luminance0.2064 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC47B4 #47CC5F
analogous
#A247CC #CC47B4 #CC4772
triadic
#CC47B4 #B4CC47 #47B4CC
tetradic
#CC47B4 #CCA247 #47CC5F #4772CC
square
#CC47B4 #CCA247 #47CC5F #4772CC
split-complementary
#CC47B4 #72CC47 #47CCA2
monochromatic
#772168 #A72E92 #CC47B4 #D977C8 #E7A7DB

Accessibility & contrast

On white

4.10
#CC47B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#CC47B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC47B4
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC47B4#FFFFFF#000000##000000
##CC47B41.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4871B7
Deuteranopia (green-blind)
#7385B1
Tritanopia (blue-blind)
#D64F77
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc47b4;
/* rgb */ color: rgb(204, 71, 180);
/* oklch */ color: oklch(61.8% 0.206 335.7);
Tailwind
colors: {
  custom: {
    50: '#df84ca',
    500: '#cc47b4',
    950: '#000000',
  },
}
SCSS
$custom: #cc47b4;
$custom-light: #df84ca;
$custom-dark: #000000;
JSON
{
  "hex": "#cc47b4",
  "rgb": {
    "r": 204,
    "g": 71,
    "b": 180
  },
  "hsl": {
    "h": 310.827,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61794,
    "c": 0.20573,
    "h": 335.7
  },
  "luminance": 0.20639
}

Semantic roles & 50–950 ramp

primary
#CC47B4
secondary
#9BD4A5
accent
#E06348
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CC47B4

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

Preview Lab → · Contrast checker → · Palette generator →

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