#CC7CA8#CC7CA8

#CC7CA8 is a light, moderate pink. Relative luminance 0.301; OKLCH L 68.5% C 0.113 H 346.4°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#CC7CA8
RGBrgb(204, 124, 168)
HSLhsl(327, 44%, 64%)
HSVhsv(327, 39%, 80%)
CMYKcmyk(0%, 39.2%, 17.6%, 20%)
CIE-LABlab(61.73, 37.09, -10.16)
CIE-LCHlch(61.73, 38.45, 344.68°)
OKLaboklab(68.47% 0.11 -0.0267)
OKLCHoklch(68.47% 0.113 346.4)
XYZxyz(39.1779, 30.0823, 40.7811)
Luminance0.3008 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7CA8 #7CCCA0
analogous
#C87CCC #CC7CA8 #CC7C80
triadic
#CC7CA8 #A8CC7C #7CA8CC
tetradic
#CC7CA8 #CCC87C #7CCCA0 #7C80CC
square
#CC7CA8 #CCC87C #7CCCA0 #7C80CC
split-complementary
#CC7CA8 #80CC7C #7CCCC8
monochromatic
#943A6B #BB508B #CC7CA8 #DDA8C5 #EED4E3

Accessibility & contrast

On white

2.99
#CC7CA8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#CC7CA8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7CA8
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7CA8#FFFFFF#000000##000000
##CC7CA81.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#828DAA
Deuteranopia (green-blind)
#969AA6
Tritanopia (blue-blind)
#D67B8C
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cc7ca8;
/* rgb */ color: rgb(204, 124, 168);
/* oklch */ color: oklch(68.5% 0.113 346.4);
Tailwind
colors: {
  custom: {
    50: '#dda3c1',
    500: '#cc7ca8',
    950: '#000000',
  },
}
SCSS
$custom: #cc7ca8;
$custom-light: #dda3c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7ca8",
  "rgb": {
    "r": 204,
    "g": 124,
    "b": 168
  },
  "hsl": {
    "h": 327,
    "s": 43.956,
    "l": 64.314
  },
  "oklch": {
    "l": 0.68466,
    "c": 0.11319,
    "h": 346.4
  },
  "luminance": 0.3008
}

Semantic roles & 50–950 ramp

primary
#CC7CA8
secondary
#C4E0D1
accent
#B76C2E
background
#FDFAFB
surface
#FBF4F7
border
#D4CED0
text
#150F12
muted
#837F81

Preview Lab

Preview with #CC7CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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