#CC71A2#CC71A2

#CC71A2 is a light, vivid pink. Relative luminance 0.273; OKLCH L 66.5% C 0.128 H 347.6°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#CC71A2
RGBrgb(204, 113, 162)
HSLhsl(328, 47%, 62%)
HSVhsv(328, 45%, 80%)
CMYKcmyk(0%, 44.6%, 20.6%, 20%)
CIE-LABlab(59.21, 41.97, -10.48)
CIE-LCHlch(59.21, 43.26, 345.98°)
OKLaboklab(66.5% 0.1253 -0.0274)
OKLCHoklch(66.5% 0.128 347.6)
XYZxyz(37.3293, 27.2590, 37.4708)
Luminance0.2726 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC71A2 #71CC9B
analogous
#C871CC #CC71A2 #CC7175
triadic
#CC71A2 #A2CC71 #71A2CC
tetradic
#CC71A2 #CCC871 #71CC9B #7175CC
square
#CC71A2 #CCC871 #71CC9B #7175CC
split-complementary
#CC71A2 #75CC71 #71CCC8
monochromatic
#8F3365 #BC4485 #CC71A2 #DC9EBF #ECCBDD

Accessibility & contrast

On white

3.26
#CC71A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#CC71A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC71A2
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC71A2#FFFFFF#000000##000000
##CC71A21.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7985A4
Deuteranopia (green-blind)
#9194A0
Tritanopia (blue-blind)
#D76F83
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cc71a2;
/* rgb */ color: rgb(204, 113, 162);
/* oklch */ color: oklch(66.5% 0.128 347.6);
Tailwind
colors: {
  custom: {
    50: '#dd9cbd',
    500: '#cc71a2',
    950: '#000000',
  },
}
SCSS
$custom: #cc71a2;
$custom-light: #dd9cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc71a2",
  "rgb": {
    "r": 204,
    "g": 113,
    "b": 162
  },
  "hsl": {
    "h": 327.692,
    "s": 47.15,
    "l": 62.157
  },
  "oklch": {
    "l": 0.66504,
    "c": 0.12828,
    "h": 347.6
  },
  "luminance": 0.27256
}

Semantic roles & 50–950 ramp

primary
#CC71A2
secondary
#BCDDCB
accent
#BA6D2B
background
#FDF9FB
surface
#FBF2F6
border
#D4CCD0
text
#150E12
muted
#837E81

Preview Lab

Preview with #CC71A2

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

Preview Lab → · Contrast checker → · Palette generator →

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