#CC47AB#CC47AB

#CC47AB is a mid, vivid pink. Relative luminance 0.203; OKLCH L 61.4% C 0.199 H 339.0°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#CC47AB
RGBrgb(204, 71, 171)
HSLhsl(315, 57%, 54%)
HSVhsv(315, 65%, 80%)
CMYKcmyk(0%, 65.2%, 16.2%, 20%)
CIE-LABlab(52.16, 62.90, -26.46)
CIE-LCHlch(52.16, 68.23, 337.19°)
OKLaboklab(61.38% 0.1862 -0.0714)
OKLCHoklch(61.38% 0.199 339)
XYZxyz(34.5065, 20.2872, 40.6187)
Luminance0.2028 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC47AB #47CC68
analogous
#AB47CC #CC47AB #CC4769
triadic
#CC47AB #ABCC47 #47ABCC
tetradic
#CC47AB #CCAB47 #47CC68 #4769CC
square
#CC47AB #CCAB47 #47CC68 #4769CC
split-complementary
#CC47AB #69CC47 #47CCAB
monochromatic
#772162 #A72E89 #CC47AB #D977C1 #E7A7D7

Accessibility & contrast

On white

4.15
#CC47AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#CC47AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC47AB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC47AB#FFFFFF#000000##000000
##CC47AB1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D6FAE
Deuteranopia (green-blind)
#7784A8
Tritanopia (blue-blind)
#D74C73
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cc47ab;
/* rgb */ color: rgb(204, 71, 171);
/* oklch */ color: oklch(61.4% 0.199 339.0);
Tailwind
colors: {
  custom: {
    50: '#df83c4',
    500: '#cc47ab',
    950: '#000000',
  },
}
SCSS
$custom: #cc47ab;
$custom-light: #df83c4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc47ab",
  "rgb": {
    "r": 204,
    "g": 71,
    "b": 171
  },
  "hsl": {
    "h": 314.887,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61377,
    "c": 0.19941,
    "h": 339
  },
  "luminance": 0.20284
}

Semantic roles & 50–950 ramp

primary
#CC47AB
secondary
#9BD4A9
accent
#E06E48
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #CC47AB

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

Preview Lab → · Contrast checker → · Palette generator →

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