#CC628C#CC628C

#CC628C is a light, vivid pink. Relative luminance 0.235; OKLCH L 63.5% C 0.141 H 356.9°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#CC628C
RGBrgb(204, 98, 140)
HSLhsl(336, 51%, 59%)
HSVhsv(336, 52%, 80%)
CMYKcmyk(0%, 52%, 31.4%, 20%)
CIE-LABlab(55.55, 46.54, -3.12)
CIE-LCHlch(55.55, 46.64, 356.16°)
OKLaboklab(63.52% 0.1413 -0.0076)
OKLCHoklch(63.52% 0.141 356.9)
XYZxyz(34.0046, 23.4693, 27.5450)
Luminance0.2347 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC628C #62CCA2
analogous
#CC62C1 #CC628C #CC6D62
triadic
#CC628C #8CCC62 #628CCC
tetradic
#CC628C #C1CC62 #62CCA2 #6D62CC
square
#CC628C #C1CC62 #62CCA2 #6D62CC
split-complementary
#CC628C #62CC6D #62C1CC
monochromatic
#882C50 #B63B6C #CC628C #DB90AE #EABED0

Accessibility & contrast

On white

3.69
#CC628C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#CC628C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC628C
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC628C#FFFFFF#000000##000000
##CC628C1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#72798D
Deuteranopia (green-blind)
#8D8C8A
Tritanopia (blue-blind)
#DA5B72
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cc628c;
/* rgb */ color: rgb(204, 98, 140);
/* oklch */ color: oklch(63.5% 0.141 356.9);
Tailwind
colors: {
  custom: {
    50: '#de92ad',
    500: '#cc628c',
    950: '#000000',
  },
}
SCSS
$custom: #cc628c;
$custom-light: #de92ad;
$custom-dark: #000000;
JSON
{
  "hex": "#cc628c",
  "rgb": {
    "r": 204,
    "g": 98,
    "b": 140
  },
  "hsl": {
    "h": 336.226,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.63523,
    "c": 0.14147,
    "h": 356.9
  },
  "luminance": 0.23466
}

Semantic roles & 50–950 ramp

primary
#CC628C
secondary
#B0DAC9
accent
#DAA34D
background
#FEF9FA
surface
#FCF1F4
border
#D5CBCE
text
#160D10
muted
#847E7F

Preview Lab

Preview with #CC628C

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

Preview Lab → · Contrast checker → · Palette generator →

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