#CC71AC#CC71AC

#CC71AC is a light, vivid pink. Relative luminance 0.276; OKLCH L 66.9% C 0.135 H 342.0°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#CC71AC
RGBrgb(204, 113, 172)
HSLhsl(321, 47%, 62%)
HSVhsv(321, 45%, 80%)
CMYKcmyk(0%, 44.6%, 15.7%, 20%)
CIE-LABlab(59.55, 43.51, -15.72)
CIE-LCHlch(59.55, 46.26, 340.14°)
OKLaboklab(66.87% 0.1283 -0.0418)
OKLCHoklch(66.87% 0.135 342)
XYZxyz(38.2538, 27.6288, 42.3398)
Luminance0.2763 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC71AC #71CC91
analogous
#BF71CC #CC71AC #CC717F
triadic
#CC71AC #ACCC71 #71ACCC
tetradic
#CC71AC #CCBF71 #71CC91 #717FCC
square
#CC71AC #CCBF71 #71CC91 #717FCC
split-complementary
#CC71AC #7FCC71 #71CCBF
monochromatic
#8F336F #BC4492 #CC71AC #DC9EC6 #ECCBE1

Accessibility & contrast

On white

3.22
#CC71AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#CC71AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC71AC
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC71AC#FFFFFF#000000##000000
##CC71AC1.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7686AE
Deuteranopia (green-blind)
#8E95AA
Tritanopia (blue-blind)
#D67287
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cc71ac;
/* rgb */ color: rgb(204, 113, 172);
/* oklch */ color: oklch(66.9% 0.135 342.0);
Tailwind
colors: {
  custom: {
    50: '#dd9cc4',
    500: '#cc71ac',
    950: '#000000',
  },
}
SCSS
$custom: #cc71ac;
$custom-light: #dd9cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc71ac",
  "rgb": {
    "r": 204,
    "g": 113,
    "b": 172
  },
  "hsl": {
    "h": 321.099,
    "s": 47.15,
    "l": 62.157
  },
  "oklch": {
    "l": 0.6687,
    "c": 0.13492,
    "h": 342
  },
  "luminance": 0.27626
}

Semantic roles & 50–950 ramp

primary
#CC71AC
secondary
#BCDDC7
accent
#BA5D2B
background
#FDF9FC
surface
#FBF2F8
border
#D4CCD1
text
#150E12
muted
#837E81

Preview Lab

Preview with #CC71AC

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

Preview Lab → · Contrast checker → · Palette generator →

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