#CC7CA2#CC7CA2

#CC7CA2 is a light, moderate pink. Relative luminance 0.299; OKLCH L 68.3% C 0.110 H 350.5°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#CC7CA2
RGBrgb(204, 124, 162)
HSLhsl(332, 44%, 64%)
HSVhsv(332, 39%, 80%)
CMYKcmyk(0%, 39.2%, 20.6%, 20%)
CIE-LABlab(61.54, 36.16, -7.01)
CIE-LCHlch(61.54, 36.84, 349.03°)
OKLaboklab(68.26% 0.108 -0.0182)
OKLCHoklch(68.26% 0.11 350.5)
XYZxyz(38.6317, 29.8638, 37.9050)
Luminance0.2986 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7CA2 #7CCCA6
analogous
#CC7CCA #CC7CA2 #CC7E7C
triadic
#CC7CA2 #A2CC7C #7CA2CC
tetradic
#CC7CA2 #CACC7C #7CCCA6 #7E7CCC
square
#CC7CA2 #CACC7C #7CCCA6 #7E7CCC
split-complementary
#CC7CA2 #7CCC7E #7CCACC
monochromatic
#943A65 #BB5083 #CC7CA2 #DDA8C1 #EED4E1

Accessibility & contrast

On white

3.01
#CC7CA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#CC7CA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC7CA2
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7CA2#FFFFFF#000000##000000
##CC7CA21.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#848CA3
Deuteranopia (green-blind)
#989AA0
Tritanopia (blue-blind)
#D77A89
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cc7ca2;
/* rgb */ color: rgb(204, 124, 162);
/* oklch */ color: oklch(68.3% 0.110 350.5);
Tailwind
colors: {
  custom: {
    50: '#dda3bd',
    500: '#cc7ca2',
    950: '#000000',
  },
}
SCSS
$custom: #cc7ca2;
$custom-light: #dda3bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7ca2",
  "rgb": {
    "r": 204,
    "g": 124,
    "b": 162
  },
  "hsl": {
    "h": 331.5,
    "s": 43.956,
    "l": 64.314
  },
  "oklch": {
    "l": 0.68261,
    "c": 0.10956,
    "h": 350.5
  },
  "luminance": 0.29861
}

Semantic roles & 50–950 ramp

primary
#CC7CA2
secondary
#C4E0D3
accent
#B7762E
background
#FDFAFB
surface
#FBF4F6
border
#D4CED0
text
#150F12
muted
#837F81

Preview Lab

Preview with #CC7CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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