#CC71AB#CC71AB

#CC71AB is a light, vivid pink. Relative luminance 0.276; OKLCH L 66.8% C 0.134 H 342.5°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#CC71AB
RGBrgb(204, 113, 171)
HSLhsl(322, 47%, 62%)
HSVhsv(322, 45%, 80%)
CMYKcmyk(0%, 44.6%, 16.2%, 20%)
CIE-LABlab(59.52, 43.35, -15.20)
CIE-LCHlch(59.52, 45.94, 340.68°)
OKLaboklab(66.83% 0.128 -0.0404)
OKLCHoklch(66.83% 0.134 342.5)
XYZxyz(38.1581, 27.5905, 41.8359)
Luminance0.2759 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC71AB #71CC92
analogous
#BF71CC #CC71AB #CC717E
triadic
#CC71AB #ABCC71 #71ABCC
tetradic
#CC71AB #CCBF71 #71CC92 #717ECC
square
#CC71AB #CCBF71 #71CC92 #717ECC
split-complementary
#CC71AB #7ECC71 #71CCBF
monochromatic
#8F336E #BC4490 #CC71AB #DC9EC6 #ECCBE0

Accessibility & contrast

On white

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

On black

6.52
#CC71AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC71AB
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC71AB#FFFFFF#000000##000000
##CC71AB1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7686AD
Deuteranopia (green-blind)
#8E95A9
Tritanopia (blue-blind)
#D67187
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cc71ab;
/* rgb */ color: rgb(204, 113, 171);
/* oklch */ color: oklch(66.8% 0.134 342.5);
Tailwind
colors: {
  custom: {
    50: '#dd9cc4',
    500: '#cc71ab',
    950: '#000000',
  },
}
SCSS
$custom: #cc71ab;
$custom-light: #dd9cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc71ab",
  "rgb": {
    "r": 204,
    "g": 113,
    "b": 171
  },
  "hsl": {
    "h": 321.758,
    "s": 47.15,
    "l": 62.157
  },
  "oklch": {
    "l": 0.66832,
    "c": 0.13421,
    "h": 342.5
  },
  "luminance": 0.27588
}

Semantic roles & 50–950 ramp

primary
#CC71AB
secondary
#BCDDC8
accent
#BA5F2B
background
#FDF9FC
surface
#FBF2F8
border
#D4CCD1
text
#150E12
muted
#837E81

Preview Lab

Preview with #CC71AB

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

Preview Lab → · Contrast checker → · Palette generator →

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