#CC71BA#CC71BA

#CC71BA is a light, vivid pink. Relative luminance 0.282; OKLCH L 67.4% C 0.146 H 334.9°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#CC71BA
RGBrgb(204, 113, 186)
HSLhsl(312, 47%, 62%)
HSVhsv(312, 45%, 80%)
CMYKcmyk(0%, 44.6%, 8.8%, 20%)
CIE-LABlab(60.06, 45.80, -22.95)
CIE-LCHlch(60.06, 51.22, 333.39°)
OKLaboklab(67.42% 0.132 -0.0619)
OKLCHoklch(67.42% 0.146 334.9)
XYZxyz(39.6698, 28.1952, 49.7976)
Luminance0.2819 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC71BA #71CC83
analogous
#B071CC #CC71BA #CC718D
triadic
#CC71BA #BACC71 #71BACC
tetradic
#CC71BA #CCB071 #71CC83 #718DCC
square
#CC71BA #CCB071 #71CC83 #718DCC
split-complementary
#CC71BA #8DCC71 #71CCB0
monochromatic
#8F337D #BC44A4 #CC71BA #DC9ED0 #ECCBE6

Accessibility & contrast

On white

3.16
#CC71BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#CC71BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC71BA
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC71BA#FFFFFF#000000##000000
##CC71BA1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7188BD
Deuteranopia (green-blind)
#8996B7
Tritanopia (blue-blind)
#D4758D
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cc71ba;
/* rgb */ color: rgb(204, 113, 186);
/* oklch */ color: oklch(67.4% 0.146 334.9);
Tailwind
colors: {
  custom: {
    50: '#dd9ccf',
    500: '#cc71ba',
    950: '#000000',
  },
}
SCSS
$custom: #cc71ba;
$custom-light: #dd9ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#cc71ba",
  "rgb": {
    "r": 204,
    "g": 113,
    "b": 186
  },
  "hsl": {
    "h": 311.868,
    "s": 47.15,
    "l": 62.157
  },
  "oklch": {
    "l": 0.67423,
    "c": 0.14578,
    "h": 334.9
  },
  "luminance": 0.28193
}

Semantic roles & 50–950 ramp

primary
#CC71BA
secondary
#BCDDC2
accent
#BA472B
background
#FDF9FC
surface
#FBF2F9
border
#D4CCD2
text
#150E13
muted
#837E82

Preview Lab

Preview with #CC71BA

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

Preview Lab → · Contrast checker → · Palette generator →

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