#CC628A#CC628A

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

Color values

HEX#CC628A
RGBrgb(204, 98, 138)
HSLhsl(337, 51%, 59%)
HSVhsv(337, 52%, 80%)
CMYKcmyk(0%, 52%, 32.4%, 20%)
CIE-LABlab(55.49, 46.28, -2.04)
CIE-LCHlch(55.49, 46.33, 357.48°)
OKLaboklab(63.46% 0.1406 -0.0047)
OKLCHoklch(63.46% 0.141 358.1)
XYZxyz(33.8585, 23.4109, 26.7754)
Luminance0.2341 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC628A #62CCA4
analogous
#CC62BF #CC628A #CC6F62
triadic
#CC628A #8ACC62 #628ACC
tetradic
#CC628A #BFCC62 #62CCA4 #6F62CC
square
#CC628A #BFCC62 #62CCA4 #6F62CC
split-complementary
#CC628A #62CC6F #62BFCC
monochromatic
#882C4F #B63B69 #CC628A #DB90AC #EABECF

Accessibility & contrast

On white

3.70
#CC628A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#CC628A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC628A
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC628A#FFFFFF#000000##000000
##CC628A1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#72798B
Deuteranopia (green-blind)
#8E8C88
Tritanopia (blue-blind)
#DA5B71
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cc628a;
/* rgb */ color: rgb(204, 98, 138);
/* oklch */ color: oklch(63.5% 0.141 358.1);
Tailwind
colors: {
  custom: {
    50: '#df92ac',
    500: '#cc628a',
    950: '#000000',
  },
}
SCSS
$custom: #cc628a;
$custom-light: #df92ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cc628a",
  "rgb": {
    "r": 204,
    "g": 98,
    "b": 138
  },
  "hsl": {
    "h": 337.358,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.63459,
    "c": 0.14067,
    "h": 358.1
  },
  "luminance": 0.23408
}

Semantic roles & 50–950 ramp

primary
#CC628A
secondary
#B0DACA
accent
#DAA54D
background
#FEF9FA
surface
#FCF1F4
border
#D5CBCE
text
#160D10
muted
#847E7F

Preview Lab

Preview with #CC628A

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

Preview Lab → · Contrast checker → · Palette generator →

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