#CC71B2#CC71B2

#CC71B2 is a light, vivid pink. Relative luminance 0.279; OKLCH L 67.1% C 0.139 H 338.8°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#CC71B2
RGBrgb(204, 113, 178)
HSLhsl(317, 47%, 62%)
HSVhsv(317, 45%, 80%)
CMYKcmyk(0%, 44.6%, 12.7%, 20%)
CIE-LABlab(59.77, 44.47, -18.83)
CIE-LCHlch(59.77, 48.29, 337.05°)
OKLaboklab(67.1% 0.1299 -0.0504)
OKLCHoklch(67.1% 0.139 338.8)
XYZxyz(38.8431, 27.8645, 45.4433)
Luminance0.2786 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC71B2 #71CC8B
analogous
#B971CC #CC71B2 #CC7185
triadic
#CC71B2 #B2CC71 #71B2CC
tetradic
#CC71B2 #CCB971 #71CC8B #7185CC
square
#CC71B2 #CCB971 #71CC8B #7185CC
split-complementary
#CC71B2 #85CC71 #71CCB9
monochromatic
#8F3375 #BC449A #CC71B2 #DC9ECA #ECCBE3

Accessibility & contrast

On white

3.20
#CC71B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#CC71B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC71B2
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC71B2#FFFFFF#000000##000000
##CC71B21.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7487B4
Deuteranopia (green-blind)
#8C95AF
Tritanopia (blue-blind)
#D5738A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cc71b2;
/* rgb */ color: rgb(204, 113, 178);
/* oklch */ color: oklch(67.1% 0.139 338.8);
Tailwind
colors: {
  custom: {
    50: '#dd9cc9',
    500: '#cc71b2',
    950: '#000000',
  },
}
SCSS
$custom: #cc71b2;
$custom-light: #dd9cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc71b2",
  "rgb": {
    "r": 204,
    "g": 113,
    "b": 178
  },
  "hsl": {
    "h": 317.143,
    "s": 47.15,
    "l": 62.157
  },
  "oklch": {
    "l": 0.67101,
    "c": 0.13938,
    "h": 338.8
  },
  "luminance": 0.27862
}

Semantic roles & 50–950 ramp

primary
#CC71B2
secondary
#BCDDC5
accent
#BA542B
background
#FDF9FC
surface
#FBF2F8
border
#D4CCD1
text
#150E13
muted
#837E82

Preview Lab

Preview with #CC71B2

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

Preview Lab → · Contrast checker → · Palette generator →

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