#CC7CB2#CC7CB2

#CC7CB2 is a light, vivid pink. Relative luminance 0.305; OKLCH L 68.8% C 0.120 H 340.1°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#CC7CB2
RGBrgb(204, 124, 178)
HSLhsl(320, 44%, 64%)
HSVhsv(320, 39%, 80%)
CMYKcmyk(0%, 39.2%, 12.7%, 20%)
CIE-LABlab(62.06, 38.70, -15.36)
CIE-LCHlch(62.06, 41.63, 338.35°)
OKLaboklab(68.83% 0.1131 -0.0409)
OKLCHoklch(68.83% 0.12 340.1)
XYZxyz(40.1455, 30.4694, 45.8775)
Luminance0.3047 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7CB2 #7CCC96
analogous
#BE7CCC #CC7CB2 #CC7C8A
triadic
#CC7CB2 #B2CC7C #7CB2CC
tetradic
#CC7CB2 #CCBE7C #7CCC96 #7C8ACC
square
#CC7CB2 #CCBE7C #7CCC96 #7C8ACC
split-complementary
#CC7CB2 #8ACC7C #7CCCBE
monochromatic
#943A77 #BB5098 #CC7CB2 #DDA8CC #EED4E6

Accessibility & contrast

On white

2.96
#CC7CB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#CC7CB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7CB2
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7CB2#FFFFFF#000000##000000
##CC7CB21.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F8EB4
Deuteranopia (green-blind)
#939BB0
Tritanopia (blue-blind)
#D57D90
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cc7cb2;
/* rgb */ color: rgb(204, 124, 178);
/* oklch */ color: oklch(68.8% 0.120 340.1);
Tailwind
colors: {
  custom: {
    50: '#dda3c9',
    500: '#cc7cb2',
    950: '#000000',
  },
}
SCSS
$custom: #cc7cb2;
$custom-light: #dda3c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7cb2",
  "rgb": {
    "r": 204,
    "g": 124,
    "b": 178
  },
  "hsl": {
    "h": 319.5,
    "s": 43.956,
    "l": 64.314
  },
  "oklch": {
    "l": 0.68827,
    "c": 0.12026,
    "h": 340.1
  },
  "luminance": 0.30467
}

Semantic roles & 50–950 ramp

primary
#CC7CB2
secondary
#C4E0CD
accent
#B75B2E
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F13
muted
#837F82

Preview Lab

Preview with #CC7CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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