#CC628F#CC628F

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

Color values

HEX#CC628F
RGBrgb(204, 98, 143)
HSLhsl(335, 51%, 59%)
HSVhsv(335, 52%, 80%)
CMYKcmyk(0%, 52%, 29.9%, 20%)
CIE-LABlab(55.64, 46.92, -4.75)
CIE-LCHlch(55.64, 47.16, 354.22°)
OKLaboklab(63.62% 0.1423 -0.0119)
OKLCHoklch(63.62% 0.143 355.2)
XYZxyz(34.2288, 23.5590, 28.7259)
Luminance0.2356 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC628F #62CC9F
analogous
#CC62C4 #CC628F #CC6A62
triadic
#CC628F #8FCC62 #628FCC
tetradic
#CC628F #C4CC62 #62CC9F #6A62CC
square
#CC628F #C4CC62 #62CC9F #6A62CC
split-complementary
#CC628F #62CC6A #62C4CC
monochromatic
#882C53 #B63B6F #CC628F #DB90B0 #EABED1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC628F#FFFFFF#000000##000000
##CC628F1.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)
#717990
Deuteranopia (green-blind)
#8D8C8C
Tritanopia (blue-blind)
#DA5C73
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cc628f;
/* rgb */ color: rgb(204, 98, 143);
/* oklch */ color: oklch(63.6% 0.143 355.2);
Tailwind
colors: {
  custom: {
    50: '#de92af',
    500: '#cc628f',
    950: '#000000',
  },
}
SCSS
$custom: #cc628f;
$custom-light: #de92af;
$custom-dark: #000000;
JSON
{
  "hex": "#cc628f",
  "rgb": {
    "r": 204,
    "g": 98,
    "b": 143
  },
  "hsl": {
    "h": 334.528,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.63621,
    "c": 0.14277,
    "h": 355.2
  },
  "luminance": 0.23556
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC628F

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

Preview Lab → · Contrast checker → · Palette generator →

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