#CC628E#CC628E

#CC628E is a light, vivid pink. Relative luminance 0.235; OKLCH L 63.6% C 0.142 H 355.8°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#CC628E
RGBrgb(204, 98, 142)
HSLhsl(335, 51%, 59%)
HSVhsv(335, 52%, 80%)
CMYKcmyk(0%, 52%, 30.4%, 20%)
CIE-LABlab(55.61, 46.79, -4.21)
CIE-LCHlch(55.61, 46.98, 354.86°)
OKLaboklab(63.59% 0.1419 -0.0105)
OKLCHoklch(63.59% 0.142 355.8)
XYZxyz(34.1534, 23.5289, 28.3287)
Luminance0.2353 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC628E #62CCA0
analogous
#CC62C3 #CC628E #CC6B62
triadic
#CC628E #8ECC62 #628ECC
tetradic
#CC628E #C3CC62 #62CCA0 #6B62CC
square
#CC628E #C3CC62 #62CCA0 #6B62CC
split-complementary
#CC628E #62CC6B #62C3CC
monochromatic
#882C52 #B63B6E #CC628E #DB90AF #EABED0

Accessibility & contrast

On white

3.68
#CC628E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#CC628E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC628E
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC628E#FFFFFF#000000##000000
##CC628E1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#71798F
Deuteranopia (green-blind)
#8D8C8B
Tritanopia (blue-blind)
#DA5C72
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cc628e;
/* rgb */ color: rgb(204, 98, 142);
/* oklch */ color: oklch(63.6% 0.142 355.8);
Tailwind
colors: {
  custom: {
    50: '#de92af',
    500: '#cc628e',
    950: '#000000',
  },
}
SCSS
$custom: #cc628e;
$custom-light: #de92af;
$custom-dark: #000000;
JSON
{
  "hex": "#cc628e",
  "rgb": {
    "r": 204,
    "g": 98,
    "b": 142
  },
  "hsl": {
    "h": 335.094,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.63588,
    "c": 0.14233,
    "h": 355.8
  },
  "luminance": 0.23526
}

Semantic roles & 50–950 ramp

primary
#CC628E
secondary
#B0DAC8
accent
#DAA04D
background
#FEF9FA
surface
#FCF1F4
border
#D5CBCE
text
#160D10
muted
#847E7F

Preview Lab

Preview with #CC628E

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

Preview Lab → · Contrast checker → · Palette generator →

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