#CC7CAC#CC7CAC

#CC7CAC is a light, moderate pink. Relative luminance 0.302; OKLCH L 68.6% C 0.116 H 343.8°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#CC7CAC
RGBrgb(204, 124, 172)
HSLhsl(324, 44%, 64%)
HSVhsv(324, 39%, 80%)
CMYKcmyk(0%, 39.2%, 15.7%, 20%)
CIE-LABlab(61.86, 37.72, -12.24)
CIE-LCHlch(61.86, 39.66, 342.02°)
OKLaboklab(68.61% 0.1113 -0.0323)
OKLCHoklch(68.61% 0.116 343.8)
XYZxyz(39.5562, 30.2336, 42.7739)
Luminance0.3023 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7CAC #7CCC9C
analogous
#C47CCC #CC7CAC #CC7C84
triadic
#CC7CAC #ACCC7C #7CACCC
tetradic
#CC7CAC #CCC47C #7CCC9C #7C84CC
square
#CC7CAC #CCC47C #7CCC9C #7C84CC
split-complementary
#CC7CAC #84CC7C #7CCCC4
monochromatic
#943A70 #BB5090 #CC7CAC #DDA8C8 #EED4E4

Accessibility & contrast

On white

2.98
#CC7CAC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#CC7CAC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7CAC
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7CAC#FFFFFF#000000##000000
##CC7CAC1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#818EAE
Deuteranopia (green-blind)
#959AAA
Tritanopia (blue-blind)
#D57C8D
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cc7cac;
/* rgb */ color: rgb(204, 124, 172);
/* oklch */ color: oklch(68.6% 0.116 343.8);
Tailwind
colors: {
  custom: {
    50: '#dda3c4',
    500: '#cc7cac',
    950: '#000000',
  },
}
SCSS
$custom: #cc7cac;
$custom-light: #dda3c4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7cac",
  "rgb": {
    "r": 204,
    "g": 124,
    "b": 172
  },
  "hsl": {
    "h": 324,
    "s": 43.956,
    "l": 64.314
  },
  "oklch": {
    "l": 0.68608,
    "c": 0.11588,
    "h": 343.8
  },
  "luminance": 0.30231
}

Semantic roles & 50–950 ramp

primary
#CC7CAC
secondary
#C4E0CF
accent
#B7652E
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F12
muted
#837F81

Preview Lab

Preview with #CC7CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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