#CC47B3#CC47B3

#CC47B3 is a mid, highly saturated pink. Relative luminance 0.206; OKLCH L 61.7% C 0.205 H 336.1°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#CC47B3
RGBrgb(204, 71, 179)
HSLhsl(311, 57%, 54%)
HSVhsv(311, 65%, 80%)
CMYKcmyk(0%, 65.2%, 12.3%, 20%)
CIE-LABlab(52.51, 64.07, -30.58)
CIE-LCHlch(52.51, 71.00, 334.48°)
OKLaboklab(61.75% 0.1874 -0.0832)
OKLCHoklch(61.75% 0.205 336.1)
XYZxyz(35.2922, 20.6015, 44.7568)
Luminance0.2060 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC47B3 #47CC60
analogous
#A347CC #CC47B3 #CC4771
triadic
#CC47B3 #B3CC47 #47B3CC
tetradic
#CC47B3 #CCA347 #47CC60 #4771CC
square
#CC47B3 #CCA347 #47CC60 #4771CC
split-complementary
#CC47B3 #71CC47 #47CCA3
monochromatic
#772167 #A72E91 #CC47B3 #D977C7 #E7A7DB

Accessibility & contrast

On white

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

On black

5.12
#CC47B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC47B3
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC47B3#FFFFFF#000000##000000
##CC47B31.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4970B6
Deuteranopia (green-blind)
#7485B0
Tritanopia (blue-blind)
#D64F77
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc47b3;
/* rgb */ color: rgb(204, 71, 179);
/* oklch */ color: oklch(61.7% 0.205 336.1);
Tailwind
colors: {
  custom: {
    50: '#df84ca',
    500: '#cc47b3',
    950: '#000000',
  },
}
SCSS
$custom: #cc47b3;
$custom-light: #df84ca;
$custom-dark: #000000;
JSON
{
  "hex": "#cc47b3",
  "rgb": {
    "r": 204,
    "g": 71,
    "b": 179
  },
  "hsl": {
    "h": 311.278,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61747,
    "c": 0.205,
    "h": 336.1
  },
  "luminance": 0.20599
}

Semantic roles & 50–950 ramp

primary
#CC47B3
secondary
#9BD4A6
accent
#E06448
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC47B3

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

Preview Lab → · Contrast checker → · Palette generator →

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