#CC47B5#CC47B5

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

Color values

HEX#CC47B5
RGBrgb(204, 71, 181)
HSLhsl(310, 57%, 54%)
HSVhsv(310, 65%, 80%)
CMYKcmyk(0%, 65.2%, 11.3%, 20%)
CIE-LABlab(52.60, 64.37, -31.61)
CIE-LCHlch(52.60, 71.72, 333.85°)
OKLaboklab(61.84% 0.1877 -0.0861)
OKLCHoklch(61.84% 0.206 335.4)
XYZxyz(35.4959, 20.6830, 45.8298)
Luminance0.2068 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC47B5 #47CC5E
analogous
#A147CC #CC47B5 #CC4773
triadic
#CC47B5 #B5CC47 #47B5CC
tetradic
#CC47B5 #CCA147 #47CC5E #4773CC
square
#CC47B5 #CCA147 #47CC5E #4773CC
split-complementary
#CC47B5 #73CC47 #47CCA1
monochromatic
#772169 #A72E92 #CC47B5 #D977C8 #E7A7DC

Accessibility & contrast

On white

4.09
#CC47B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#CC47B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC47B5
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC47B5#FFFFFF#000000##000000
##CC47B51.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4771B8
Deuteranopia (green-blind)
#7385B2
Tritanopia (blue-blind)
#D65078
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc47b5;
/* rgb */ color: rgb(204, 71, 181);
/* oklch */ color: oklch(61.8% 0.206 335.4);
Tailwind
colors: {
  custom: {
    50: '#df84cb',
    500: '#cc47b5',
    950: '#000000',
  },
}
SCSS
$custom: #cc47b5;
$custom-light: #df84cb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc47b5",
  "rgb": {
    "r": 204,
    "g": 71,
    "b": 181
  },
  "hsl": {
    "h": 310.376,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61842,
    "c": 0.20645,
    "h": 335.4
  },
  "luminance": 0.2068
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC47B5

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

Preview Lab → · Contrast checker → · Palette generator →

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