#CC628B#CC628B

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

Color values

HEX#CC628B
RGBrgb(204, 98, 139)
HSLhsl(337, 51%, 59%)
HSVhsv(337, 52%, 80%)
CMYKcmyk(0%, 52%, 31.9%, 20%)
CIE-LABlab(55.52, 46.41, -2.58)
CIE-LCHlch(55.52, 46.48, 356.82°)
OKLaboklab(63.49% 0.1409 -0.0062)
OKLCHoklch(63.49% 0.141 357.5)
XYZxyz(33.9312, 23.4400, 27.1585)
Luminance0.2344 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC628B #62CCA3
analogous
#CC62C0 #CC628B #CC6E62
triadic
#CC628B #8BCC62 #628BCC
tetradic
#CC628B #C0CC62 #62CCA3 #6E62CC
square
#CC628B #C0CC62 #62CCA3 #6E62CC
split-complementary
#CC628B #62CC6E #62C0CC
monochromatic
#882C4F #B63B6B #CC628B #DB90AD #EABECF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC628B#FFFFFF#000000##000000
##CC628B1.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)
#72798C
Deuteranopia (green-blind)
#8D8C89
Tritanopia (blue-blind)
#DA5B71
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cc628b;
/* rgb */ color: rgb(204, 98, 139);
/* oklch */ color: oklch(63.5% 0.141 357.5);
Tailwind
colors: {
  custom: {
    50: '#df92ac',
    500: '#cc628b',
    950: '#000000',
  },
}
SCSS
$custom: #cc628b;
$custom-light: #df92ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cc628b",
  "rgb": {
    "r": 204,
    "g": 98,
    "b": 139
  },
  "hsl": {
    "h": 336.792,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.63491,
    "c": 0.14107,
    "h": 357.5
  },
  "luminance": 0.23437
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC628B

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

Preview Lab → · Contrast checker → · Palette generator →

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